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

...

What is remctl?

...

Remctl Commands

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

  • 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 and stop sending notification emails

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'

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

...