nagios external command error

Guillermo Padilla gpadilla at cbct.com
Tue Jul 12 17:34:01 CEST 2005


Here it is...

ls -al /usr/local/nagios/var/rw
total 12
drwxrwsr-x  2 nagios nagiocmd 4096 Jul 12 11:25 .
drwxrwxr-x  4 nagios nagios   4096 Jul 12 11:28 ..
prw-rw----  1 nagios nagiocmd    0 Jul 12 11:25 nagios.cmd


prw-rw----  1 nagios nagiocmd    0 Jul 12 11:25 nagios.cmd
[root at watchdog rw]# grep nagios /etc/group
nagios:x:502:
nagiocmd:x:503:nagios,nobody



[root at watchdog rw]# grep ^User /usr/local/apache/conf/httpd.conf
User nobody
UserDir public_html



[root at watchdog rw]# grep ^Group /usr/local/apache/conf/httpd.conf
Group #-1


[root at watchdog rw]# ps auxwww |grep httpd
root      2319  0.0  0.4 11960 4896 ?        Ss   09:49   0:00
/usr/local/apache/bin/httpd -k start
nobody   16057  0.0  0.4 12100 5036 ?        S    11:25   0:00
/usr/local/apache/bin/httpd -k start
nobody   16058  0.0  0.4 12100 5032 ?        S    11:25   0:00
/usr/local/apache/bin/httpd -k start
nobody   16059  0.0  0.4 12092 4996 ?        S    11:25   0:00
/usr/local/apache/bin/httpd -k start
nobody   16060  0.0  0.4 12092 4996 ?        S    11:25   0:00
/usr/local/apache/bin/httpd -k start
nobody   16061  0.0  0.4 12100 5032 ?        S    11:25   0:00
/usr/local/apache/bin/httpd -k start
nobody   16115  0.0  0.4 12092 4920 ?        S    11:25   0:00
/usr/local/apache/bin/httpd -k start
nobody   19404  0.0  0.4 12092 4920 ?        S    11:28   0:00
/usr/local/apache/bin/httpd -k start

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of C.
Bensend
Sent: Tuesday, July 12, 2005 11:16 AM
To: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] nagios external command error


> Here is a snippet of the nagios var dir
>
> drwxrwxrwx  2 nagios nagios    4096 Jul 11 00:00 archives
> -rwxrwxrwx  1 nagios nagios   32762 Jul 12 10:12 status.sav
> -rw-r--r--  1 nagios nagios       6 Jul 12 10:39 nagios.lock
> drwxrwsr-x  2 nagios nagiocmd  4096 Jul 12 10:39 rw
> -rw-rw-r--  1 nagios nagios       0 Jul 12 10:39 downtime.log
> -rw-rw-r--  1 nagios nagios     314 Jul 12 10:45 comment.log
> -rw-rw-r--  1 nagios nagios   91003 Jul 12 10:58 nagios.log
> -rw-rw-r--  1 nagios nagios   44441 Jul 12 10:58 status.log

Let's see the exact cut-n-paste of the output of the following
commands:

ls -al /path/to/nagios/var/rw

grep nagios /etc/group

grep ^User /path/to/apache/httpd.conf

grep ^Group /path/to/apache/httpd.conf

ps auxww | grep httpd


-- 
"I'd rather staple a skunk to my forehead and go to a trade show
for banjo makers."                            -- PHB's secretary,
                                                 Dilbert, 07-2002



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar
happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by
HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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