...
Basic formats for host or service are (*fill in the uppercase words with desired command, host or service and comment)* . You |
---|
remctl -p 46157 nagios02.slac.stanford.edu nagios COMMAND host HOSTNAME COMMENT |
remctl -p 46157 nagios02.slac.stanford.edu nagios COMMAND service HOSTNAME SERVICENAME COMMENT |
Examples |
---|
remctl -p 46157 nagios02.slac.stanford.edu nagios02 nagios ack host wain007 'there is a problem, we are working on it' |
remctl -p 46157 nagios02.slac.stanford.edu nagios02 nagios ack service wain007 xroot-wain007 'ack - RT 9999' |
remctl -p 46157 nagios02.slac.stanford.edu nagios downtime host wain007 5 'down for 5 hours' |
remctl -p 46157 nagios02.slac.stanford.edu nagios downtime service sulky46 u02-diskspace 5 'service down for 5 hrs' |
remctl -p 46157 nagios02.slac.stanford.edu nagios schedule host sulky46 5 'run checks in 5 mins' |
remctl -p 46157 nagios02.slac.stanford.edu nagios schedule service sulky46 u02-diskspace 5 'check disk u02 in 5 mins' |
remctl -p 46157 nagios02.slac.stanford.edu nagios02 nagios help |
remctl -p 46157 nagios02.slac.stanford.edu nagios02 nagios man |
...
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:
...