1
edit
Changes
→4.0 IRC Notification Bot Configuration (Server configuration)
<pre>Note: please keep in mind this was done on Fedora 13 with Nagios 3.2.3 and NagIRCBot 0.0.30.</pre>
1. Download the IRC bot. <code> wget http://www.vanheusden.com/nagircbot/nagircbot-0.0.30.tgz </code> 2. Unzip the archive. <code>tar -xvzf nagircbot-0.0.30.tgz </code> 3. Become the root user.
<code>su – </code>
<code>yum install openssl-devel </code>
<code>yum nstall gcc </code>
from:
to:
<pre>Note: only has to be done sometimes, when you getting an error about lcrypto</pre>
<code>LDFLAGS+=$(DEBUG) -lssl -lstdc++ -lcrypto </code>
<code>make</code>
<code>make install</code>
<code>nagircbot -f /var/log/nagios/status.dat -s irc.freenode.net:6667 -c \#seneca-cdot -C -n test22283833 -u NagiosBot -U NagiosIRCBot -I 900 </code>
Nagios bot options can be queried on the IRC channel. If you open private messages with the bot you can issue and control it by using the following commands:
[[File:IrcBot.png|400px|thumb|centre|Nagios IRC Bot]]