Difference between revisions of "Nagios"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(Debian)
(General Ping Monitoring)
Line 29: Line 29:
 
  /etc/init.d/nagios3 restart
 
  /etc/init.d/nagios3 restart
 
you should see it pop in
 
you should see it pop in
 +
 +
=Windows Internal (Private Data) Monitoring=
 +
 +
==Notes==
 +
*http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html

Revision as of 14:30, 9 October 2013

Debian

aptitude install nagios3 nagios-plugins nagios-nrpe-plugin nagios3-doc

Set domain if you have one (else leave default) and set login user and password (it should prompt your for both)

Notes

General Ping Monitoring

You put a host config file in the host config directory and restart nagios. It will then pull the new host in.

/etc/nagios3/conf.d

Contains templates that you can pull into your host config files.

/etc/nagios3/conf.d

is also where you put your host config files.

  • Example
define host{
        use                     generic-host            ; Name of host template to use
        host_name               HOSTNAME
        alias                   HOSTNAME
        address                 192.168.52.20
        }

Save that in

/etc/nagios3/conf.d

and

/etc/init.d/nagios3 restart

you should see it pop in

Windows Internal (Private Data) Monitoring

Notes