Also you probably want to make sure you run the command as the nagios
user, or whatever the user is that the service runs as, to make sure you
are getting the right environment and permissions.
Dan
From: Polifemo, Salvatore [mailto:[email protected]]
Sent: Monday, December 20, 2010 11:36 AM
To: Nagios Users List
Subject: Re: [Nagios-users] tracing nagios actions
Yes, run the actual command from the command line as Steve demonstrated.
Make sure which command is being used, and if you run the command with
no parameters it will display the correct usage.
Salvatore Polifemo
Sr. Systems Security Specialist
ConEdison Solutions
100 Summit Lake Drive
Valhalla, NY 10595
From: steve f [mailto:[email protected]]
Sent: Monday, December 20, 2010 12:14 PM
To: [email protected]
Subject: Re: [Nagios-users] tracing nagios actions
Mark,
I think Salvatore means run the check manually from the command line ,
make sure you run it as the nagios user and try setting tha warning &
critical values to something that will make it fail also:
/usr/local/nagios/libexec > ./check_disk -w 50 -c 70 -p /home
DISK OK - free space: /home 440 MB (95% inode=99%);|
/home=20MB;436;416;0;486
The -p just checks a specific path. ( FYI )
Steve
________________________________
Date: Mon, 20 Dec 2010 11:50:14 -0500
From: [email protected]
To: [email protected]
Subject: Re: [Nagios-users] tracing nagios actions
Hi Salvatore,
They're all Unix (Redhat) servers. By check command do you mean nagios
-v? I've done that and I do not get an errors.
Thanks,
Mark
On Mon, Dec 20, 2010 at 11:35 AM, Polifemo, Salvatore
<[email protected]> wrote:
Are these Windows or *nix server?
Either wau run the check command manually from a console and see what
the results are.
Salvatore Polifemo
Sr. Systems Security Specialist
ConEdison Solutions
100 Summit Lake Drive
Valhalla, NY 10595
From: mark bradley [mailto:[email protected]]
Sent: Monday, December 20, 2010 11:14 AM
To: [email protected]
Subject: [Nagios-users] tracing nagios actions
Hi,
I have a small-ish number of servers and I've tried to configure Nagios
to warn me about disk-space running low. The problem is that, although
disk space is above both warning and critical levels I'm not getting any
notifications.
The nagios.log file is silent on the topic and nagios -v does not
produce any errors or warnings.
Is there a way to trace what actions nagios is considering (much like
make -n) in order to debug this problem? Is there a debugging
methodology defined somewhere? If it's in your head can you share?
Thanks,
Mark
------------------------------------------------------------------------
------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Nagios-users mailing list
[email protected]
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
------------------------------------------------------------------------
------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to
connect the dots, take your collaborative environment to the next level,
and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________ Nagios-users mailing
list [email protected]
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
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Nagios-users mailing list
[email protected]
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