...
...
remctl (the client) and remctld (the server) implement a client/server protocol for running single commands on a remote host using Kerberos v5 authentication and returning the output. They use a very simple GSS-API-authenticated network protocol, combined with server-side ACL support and a server configuration file that maps remctl commands to programs that should be run when that command is called by an authorized user.
...
As a nagios administrator for Fermi you have basically three commands you can send to nagios using remctl (the port is 46157 for now):
Basic formats for host or service are:
remctl -p 46157 nagios02.slac.stanford.edu nagios ack host HOSTNAME COMMENT
remctl -p 46157 nagios02.slac.stanford.edu nagios ack service HOSTNAME SERVICENAME COMMENT
Command | Command | Format | Example |
---|---|---|---|
acknowledge | remctl -p <port> <nagios-server-name> nagios <cmd> <host or service> <hostname> <service name> <comment> | ||
|
|
| |
|
|
| |
|
|
| |
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:
...