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. You may shorten the nagios02.slac.stanford.edu address to nagios02)

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

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

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

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

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

Examples

remctl -p 46157 nagios02  nagios ack host wain007 'there is a problem, we are working on it'

remctl -p 46157 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  nagios help

remctl -p 46157 nagios02  nagios man

...