Personal tools

Difference between revisions of "Nagios"

From MohidWiki

Jump to: navigation, search
(Useful links and commmands for the OMD package)
 
Line 12: Line 12:
  
 
Ssh server to nagios vm: 10.15.228.34:2222
 
Ssh server to nagios vm: 10.15.228.34:2222
 +
 +
==How to add a new service to a site and host==
 +
 +
> sudo su - [site]
 +
> vim /opt/omd/sites/[site]/etc/nagios/conf.d/ngpp.cfg
 +
 +
'''ngpp.cfg''' is a specific configuration file of the services for the host ''ngpp''.
  
 
==External References==
 
==External References==

Latest revision as of 18:43, 2 July 2013

Nagios is a monitoring tool that mediates several plugins that find useful information to the user, such as cpu usage, ping time reply, disk usage, ram usage, etc ...

Useful links and commmands for the OMD package

  • http://[nagios-server]:8888/[site]/thruk --> identifies the nagios plugin (script in perl, python, bash...)
  • http://[nagios-server]:8888/[site]/nagios --> nagios basic frontend
  • http://[nagios-server]:8888/[site]/check_mk --> check_mk frontend

Sites: ppv, teste

Nagios server: 10.15.228.34:8888

Ssh server to nagios vm: 10.15.228.34:2222

How to add a new service to a site and host

> sudo su - [site]
> vim /opt/omd/sites/[site]/etc/nagios/conf.d/ngpp.cfg

ngpp.cfg is a specific configuration file of the services for the host ngpp.

External References

[Category:Linux]