Here is a list of the commands I used to install all needed software on a Fedora 7 server in a VMware environment to get Nagios and Nagiosgrapher running.
yum -y update
vi /etc/inittab yum -y install gcc perl-Config-IniFiles net-snmp net-snmp-perl net-snmp-utils perl-Net-SNMP net-snmp-libs cd /tmp/ ./configure –prefix=/usr/local/nagios –with-command-group=nagcmd rsync -avu root@cacti.elisabeth.nl:/usr/local/nagios/etc /usr/local/nagios/ /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg tar xvzf nagiosgraph-0.9.0.tgz ls -ald /var/log cd /usr/local/nagios/nagiosgraph/ chown nagios:nagios /usr/local/nagios/var/perfdata.log chown nagios:nagios ../../var/nagiosgraph.log yum -y install perl-Config-IniFiles [root@cacti ~]# scp /lib/libssl.so.5 root@10.20.2.26:/lib/ ldconfig NagiosPlugin NSCA tar xvzf nsca-2.7.2.tar.gz vi /etc/services nsca 5667/tcp # NSCA vi README [root@cacti ~]# vi /etc/xinetd.d/nsca cd /usr/local/nagios/var command_file=/usr/local/nagios/var/rw/nagios.cmd yum install xinetd example command for executing send_nsca on the commandline: |
Leave a Reply