• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Monit on OpenSUSE

{{postValue.id}}

To install Monit on Opensuse 13.2

Monit is a free source tool that monitors the server process, directories, checksums, permissions, files, filesystems and services. Installation of Monit in Opensuse is explained in this article.

To install Monit Package

Run the following command to install the Monit package.

linuxhelp:/home/user1 # zypper install monit 
Retrieving repository ' openSUSE-13.2-Non-Oss'  metadata .......................................[done]
Building repository ' openSUSE-13.2-Non-Oss'  cache ............................................[done]
Retrieving repository ' openSUSE-13.2-Oss'  metadata ...........................................[done]
Building repository ' openSUSE-13.2-Oss'  cache ................................................[done]
.
.
.
(1/1) Installing: monit-5.8.1-2.1.2 ..........................................................[done]
Additional rpm output:
Updating /etc/sysconfig/monit...


Start the Monit service by running the following command.

linuxhelp:/home/user1 # systemctl start monit 
Check the status of Monit.

linuxhelp:/home/user1 # monit status 
Status not available -- the monit daemon is not running


The Monit process was not running and to enable the Monit configuration file.

linuxhelp:/home/user1 # vim /etc/monitrc 

Monit_configuration
logfile
Now restart the Monit service by running the following command.

linuxhelp:/home/user1 # systemctl restart monit 

Lets check the status of monit and it will run fine.

linuxhelp:/home/user1 # monit  

monit daemon with PID 34533 awakened
linuxhelp:/home/user1 # monit status 
The Monit daemon 5.8.1 uptime: 0m 
System ' linuxhelp' 
  status                            Running
  monitoring status                 Monitored
  load average                      [0.00] [0.06] [0.13]
  cpu                               0.0%us 0.0%sy 0.0%wa
  memory usage                      538696 kB [53.2%]
  swap usage                        34892 kB [1.1%]
  data collected                    Thu, 22 Sep 2016 15:08:45


Open the Monit configuration file, configure the web-configuration and set login credentials for Monit as shown below.

linuxhelp:/home/user1 # vim /etc/monitrc 

set_login_credentials
dont_alert
After setting the credentials, enable the following line.
enable_line
check_directory_bin


Enable and restart the Monit service.

linuxhelp:/home/user1 # systemctl enable monit
linuxhelp:/home/user1 # systemctl restart monit 


Open the browser and enter the login credentials for Monit.
authentication
Now start monitoring the services.
Monit_service_manager
system_status

Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How can I run monit from init so it can be respawned in case monit dies unexpectedly?

A

It is recommended that you use Monit version 5 or later when running Monit from init. Use either the 'set init' statement in monits configuration file or use the -I option
" Run monit in standard run levels"

Q

What is the command to set the HTTP ports?

A

By using this command to set port
"set httpd port 2812"

Q

What is the refresh time in Monit?

A

You will get the rfresh interval of 2s in Monit.

Q

What is the main configuration file of the Monit?

A

Here the main configuration file is
"/etc/monitrc"

Q

What is the command to check the version of Monit?

A

following command is used to check the version
"Monit -V"

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Jayce ?
What are the types of table used in IPtables

What are the various types of table used in IPtables and how to use that for my server security?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.