Changes

Jump to: navigation, search

How to Setup and configure Nagios

276 bytes added, 11:22, 3 December 2010
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>
24. Install edition packages.
<code>yum install openssl-devel </code>
<code>yum nstall gcc </code>
35. After unpacking the tarball, in the make file <code>Makefile</code> you must change the following line:
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>
46. When you change the make file from the step 3, issue make/make install.
<code>make</code>
<code>make install</code>
57. Once its installed you can start up nagircbot:
<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>
68. Lets examine the command from step 5, which will be the main command for starting nagircbot:
79. Additional information about Nagios Bot.
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:
810.Congratulations! You just completed the IRC bot configuration.
[[File:IrcBot.png|400px|thumb|centre|Nagios IRC Bot]]
1
edit

Navigation menu