...
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 | remctl -p 46157 nagios02 nagios ack service wain007 xroot-wain007 'xrootd daemon off temporarily' |
pre-emptively mark a host or service as down, | 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'
...
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:
...