Nagvis on Nagios with MKLivestatus

download mk-livestatus
wget http://mathias-kettner.de/download/mk-livestatus-1.1.10p3.tar.gz
tar xzf mk-livestatus-1.1.10p3.tar.gz
cd mk-livestatus-1.1.10p3
yum install gcc-c++
./configure
make -j 8
make install
add in /usr/local/nagios/etc/nagios.cfg

“broker_module=/usr/local/lib/mk-livestatus/livestatus.o /usr/local/nagios/var/rw/live”

set this Option in /usr/local/nagios/etc/nagios.cfg
“event_broker_options=-1”

MK-Livestatus is ready to use!

Donwload NagVis

wget nagvis-1.5.10.tar.gz
tar xzf nagvis-1.5.10.tar.gz
cd nagvis-1.5.10
chmod +x install.sh
./install.sh
check if exist /etc/httpd/conf.d/nagvis.conf else
cp etc/apache2-nagvis.conf-sample /etc/httpd/conf.d/httpd-nagvis.conf
vim /etc/httpd/conf.d/httpd-nagvis.conf
and replace all “@NAGVIS_WEB@” with “/nagvis”
:%s/@NAGVIS_WEB@/\/nagvis/g
and also replace all “@NAGVIS_PATH@” with “/usr/local/nagvis”

restart httpd and nagios and watch the /var/log/messages

check /etc/hosts
and check /etc/php.ini for date.timezone =”Europe/Berlin”

Speichere in deinen Favoriten diesen permalink.

Eine Antwort zu Nagvis on Nagios with MKLivestatus

  1. VersuS sagt:

    Livestatus Socket (/usr/local/nagios/var/rw/live) MISSING |
    | Valid socket formats are: tcp:127.0.0.1:7668 or unix:/path/to/live |
    | Please enter your MKLivestatus socket: /var/lib/nagios/rw/live
    | Invalid socket format. Take a look above for valid formats.

Schreibe einen Kommentar