Versions Compared

Key

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

...

Basic formats for host or service are (fill in the uppercase words with desired command, host or service and comment):

remctl -p 46157 nagios02.slac.stanford.edu nagios ack COMMAND host HOSTNAME COMMENT

remctl -p 46157 nagios02.slac.stanford.edu nagios ack COMMAND service HOSTNAME SERVICENAME COMMENT

Command

Example

acknowledge
service alert and stop sending notification emails

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

pre-emptively mark a host or service as down,
don't contact contacts for a while

remctl -p 46157 nagios02.slac.stanford.edu nagios downtime host wain007 xroot-wain007 'down for 1 hr'

tell nagios to run a check for this host or service in M minutes

remctl -p 46157 nagios02.slac.stanford.edu nagios schedule host wain007 5 'run check in 5 mins'

 

 

 

 

 

 

 

 

 

 

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:

...