Just a small update. So far all seems to go fine. I have added about 30 hosts/hostgroups/services/commands without a hitch. What i still miss however are the hosts itself in the overview.
I am wondering if this is because we use a distributed monitoring solution where the hosts only get shown after the first result is in or if the host should be visible after i added it? Can someone explain this perhaps.
Also the hostgroups etc arent showing up atm. I tried to use the write config files option in the tools menu but i get the error when i try to restart nagios:
Code: Select all
Nagios daemon is not running, cannot send restart command!
This is a bit strange since the component status says all is running just fine. Also when i do check the running procs on the server it seems to be running (3rd line):
Code: Select all
nagios 1238 0.0 0.0 3196 1868 ? S Sep09 0:09 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
nagios 1281 0.0 0.0 8000 596 ? Ss Sep09 0:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 7077 0.0 0.0 17852 1620 ? Ssl 10:25 0:00 /usr/sbin/nagios -d /etc/nagios/nagios.cfg
nagios 7153 0.0 0.0 2940 1052 ? Ss 10:26 0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1
nagios 7155 3.0 0.3 34012 14660 ? S 10:26 0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php
nagios 7156 0.0 0.0 2940 1052 ? Ss 10:26 0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1
nagios 7157 3.0 0.3 34012 14672 ? S 10:26 0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php
postgres 7158 0.0 0.1 47968 4412 ? Ss 10:26 0:00 postgres: nagiosxi nagiosxi ::1(39818) idle
postgres 7159 0.0 0.1 47968 4416 ? Ss 10:26 0:00 postgres: nagiosxi nagiosxi ::1(39819) idle
nagios 7163 0.0 0.0 2940 1048 ? Ss 10:26 0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1
nagios 7166 3.1 0.3 34200 14724 ? S 10:26 0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php
nagios 7169 0.0 0.0 2940 1056 ? Ss 10:26 0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
nagios 7172 3.1 0.3 34372 14936 ? S 10:26 0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php
nagios 7176 0.0 0.0 2940 1052 ? Ss 10:26 0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1
nagios 7177 3.7 0.3 34316 15200 ? S 10:26 0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php
postgres 7193 0.0 0.1 48036 4712 ? Ss 10:26 0:00 postgres: nagiosxi nagiosxi ::1(39821) idle
nagios 7195 0.0 0.0 2940 1052 ? Ss 10:26 0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1
nagios 7196 4.1 0.4 36536 17100 ? S 10:26 0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php
postgres 7199 0.0 0.1 47968 4476 ? Ss 10:26 0:00 postgres: nagiosxi nagiosxi ::1(39823) idle
postgres 7204 0.1 0.1 47968 4488 ? Ss 10:26 0:00 postgres: nagiosxi nagiosxi ::1(39824) idle
postgres 7220 0.0 0.1 48028 4660 ? Ss 10:26 0:00 postgres: nagiosxi nagiosxi ::1(39827) idle
nagios 7244 0.0 0.0 2940 1052 ? S 10:26 0:00 sh -c /usr/bin/iostat -c 5 2 | tail --lines=2 | head --lines=1 | awk '{ print $1,$2,$3,$4,$5,$6 }'
nagios 7245 0.0 0.0 2008 680 ? S 10:26 0:00 /usr/bin/iostat -c 5 2
nagios 7246 0.0 0.0 2004 480 ? S 10:26 0:00 tail --lines=2
nagios 7247 0.0 0.0 1984 440 ? S 10:26 0:00 head --lines=1
nagios 7248 0.0 0.0 2500 732 ? S 10:26 0:00 awk { print $1,$2,$3,$4,$5,$6 }
root 7251 0.0 0.0 4312 744 pts/0 R+ 10:26 0:00 grep nagios
postgres 16573 0.0 0.1 47968 5012 ? Ss 01:39 0:00 postgres: nagiosxi nagiosxi ::1(44154) idle
postgres 17107 0.0 0.1 47968 5064 ? Ss 09:13 0:00 postgres: nagiosxi nagiosxi ::1(36119) idle
postgres 28412 0.0 0.1 47968 5016 ? Ss Sep11 0:02 postgres: nagiosxi nagiosxi ::1(34541) idle
postgres 28466 0.0 0.1 47968 4964 ? Ss Sep11 0:02 postgres: nagiosxi nagiosxi ::1(34545) idle
postgres 28515 0.0 0.1 47968 4764 ? Ss Sep11 0:02 postgres: nagiosxi nagiosxi ::1(34548) idle
postgres 28585 0.0 0.1 47968 4940 ? Ss Sep11 0:02 postgres: nagiosxi nagiosxi ::1(50294) idle
postgres 28702 0.0 0.1 47968 5024 ? Ss Sep11 0:02 postgres: nagiosxi nagiosxi ::1(50304) idle
postgres 28749 0.0 0.1 47968 5000 ? Ss Sep11 0:02 postgres: nagiosxi nagiosxi ::1(50307) idle
postgres 28802 0.0 0.1 47972 5108 ? Ss Sep11 0:02 postgres: nagiosxi nagiosxi ::1(50311) idle
postgres 28924 0.0 0.1 47972 4992 ? Ss Sep11 0:02 postgres: nagiosxi nagiosxi ::1(50323) idle