[root@hoge ~]# nagircbot -h
nagircbot, v0.0.33 (C)2006-2011 by folkert@vanheusden.com
-f path to status.log ('status_file' parameter in nagios.cfg)
-F host:port for retrieving status.log
-x status.log is in nagios 1.0 format
-X status.log is in nagios 2.0/3.0 format
-s IRC server to connect to (host:port)
-c channel to connect to (#channel - do not forget to escape the '#' in your shell)
-k keyword for the channel to connect to (default: no keyword)-C use colors
-n nick
-u username (for logging into the irc server)-U name (as seen by other users)-p password (for logging into the irc server)-N prefix for all in-channel messages, e.g. for nick highlight
-m display all information on separate lines
-t show a summary in the topic-line
-i check interval (in seconds - default 60)-I how often to announce the global statusin the channel (in seconds, 0for off)do not set it smaller then the -i value-ddo not fork into the background
-T x checks to see if nagios is still running. comma-seperated list
(without spaces!) with the following elements:
max_time_last_host_update, max_time_oldest_host_update,
max_time_last_host_check, max_time_oldest_host_check,
max_time_last_service_check, max_time_oldest_service_check,
max_time_oldest_next_service_check
send 'check'in a private message to invoke the check
-z user user to run as
-H show only state type'HARD'(default)-S show also state type'SOFT'-R only announce CRITICAL/UNKNOWN errors on the channel
-A x filter (omit) lines that match with the given regular expression
-P x write pid to file x
-e Use encryption (SSL)(default: no)