nagios do not show 'Service Status Details For All Hosts'

Matteo Mancini whiterabbit at mand4la.info
Tue Jan 10 12:11:15 CET 2006


Hi all..

> So what output do you get from `ps ax|grep nagios` on each step? I for
> one
> would like to see them instead of your interpretation.

these two line are when I'm not wachting web interface
# ps aux |grep nagios
_nagios  32713  0.0  0.3  1564  1520 ??  Ss     9:33PM    5:19.92
nagios -d nagios.cfg
root     12965  0.0  0.0   280   140 p0  R+     1:41PM    0:00.09 grep
nagios

instead these are the output that I see when I'm browsing web intrerface
# ps aux |grep nagios
_nagios  32713  0.1  0.3  1564  1520 ??  Ss     9:33PM    5:20.61
nagios -d nagios.cfg
_nagios  12113  0.0  0.1  1340   660 ??  S      1:43PM    0:00.02
nagios -d nagios.cfg
_nagios   4067  0.0  0.1   584   472 ??  S      1:43PM    0:00.04 sh
-c sh
_nagios  22904  0.4  0.1   468   604 ??  S      1:43PM    0:00.06
/usr/local/libexec/nagios/check_ping -H 1
_nagios   8489  0.0  0.0   420   224 ??  S      1:43PM    0:00.03
/sbin/ping -n -c 5 10.0.2.50


>
> You might actually have more then just that line in rc.local if you
> installed packages.

this is my rc.local

#cat /etc/rc.local

#       $OpenBSD: rc.local,v 1.38 2005/03/29 21:41:59 uwe Exp $

# site-specific startup actions, daemons, and other things which
# can be done AFTER your system goes into securemode.  For actions
# which should be done BEFORE your system has gone into securemode
# please see /etc/rc.securelevel

# site-specific startup actions, daemons which can be run
# Add your local startup actions to this file

echo -n 'starting local daemons:'

if [ -x /usr/local/sbin/cfsd ]; then
        if ps auxc | grep -q '^ *root .* mountd$'; then
                echo -n ' cfsd';        /usr/local/sbin/cfsd
>/dev/null 2>&1
                mount -o port=3049,nfsv2,intr localhost:/null /crypt
        else
                echo -n ' cfsd (failed, no mountd running)'
        fi
fi

#if [ -x /usr/local/sbin/snmpd ]; then
#       echo -n ' snmpd';       /usr/local/sbin/snmpd
#fi

echo '.'


mkdir /var/run/nagios/
chown _nagios:_nagios /var/run/nagios/
/usr/local/sbin/nagios -d /etc/nagios/nagios.cfg


thanks

Matteo



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list