Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • login access to nagios02.slac.stanford.edu
  • read access to the following directory, and executables, on nagios02.slac.stanford.edu
    • /etc/nagios and all subdirectories
    • /usr/lib64/nagios/plugins
  • * privileges to run remctrl

...

Basic Commands

As a nagios administrator for Fermi you have basically three commands you can send to nagios using remctl (the port is always 46157):

  • schedule - schedule a check on a host/service
  • downtime -  a host/service is known to be down, don't contact the contacts for a while
  • acknowledge - Alert for host/service has been acknowledged so stop sending alert notices

Command

Format

Example

acknowledge
service alert

remctl -p <port> <nagios-server-name>  nagios <cmd> <host or service> <hostname> <service name> <comment>

remctl -p 46157 nagios02 nagios ack service wain007 xroot-wain007  'xrootd daemon off temporarily'

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

To acknowledge an alert for a service:

remctl -p 46157 nagios02 nagios ack service wain007 xroot-wain007 'xrootd daemon off temporarily'

...

Basic Details

All the configuration files for Scientific Computing reside under /etc/nagios/sca/ on nagios02.slac.stanford.edu. Within this directory are a number of subdirectories on a per-monitoring-type basis. These are:

...