Fwd: check_nagios

Jesús M. NAVARRO jesus_navarro at undominio.net
Fri Mar 7 15:50:05 CET 2003


Hi:

On Fri, 2003-03-07 at 15:13, Jasmine wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi I have the same problem too. And, would like to know hows its being solved. 
> - -rw-r--r--    1 root     root            0 Mar  7 22:05 status.log
> Time on checking: Fri Mar  7 22:12:44 SGT 2003
> 

Hummm... it's a 0 length file owned by root (and only root can write to
it).

> On Friday 07 March 2003 21:20, Jens Kruse wrote:
> > Hi,
> >
> > I couldn't find a solution for the following problem with google, so
> > maybe someone has experienced this before ...
> >
> > check_nagios gives out the following ...
> >
> > nagios at monitor1-lx:~> /usr/local/nagios/libexec/check_nagios -F
> > /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios
> > Nagios problem: located 80 processes, status log updated 1047042679
> > seconds ago
> >
> > though status.log is only some minutes old ...
> >
> > nagios at monitor1-lx:~> l var/status.log
> > -rw-r--r--    1 nagios   nagios          0 Mär  7 13:50 var/status.log
> >

Well... here it's zero length too but owned by nagios user...

Anyway, can the user agent write to the given file?  (maybe it's neither
root nor nagios).
-- 
SALUD,
Jesús
***
jesus_navarro at undominio.net
***



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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