Hi Todd,
There was a fairly important fix for ssh-based zencommands on r3845.
There's also improved debugging output in r3667.
But, I'm assuming that you are not running over SSH, which is where most
of the improvements have occurred.
You can spy on what zencommand is doing with strace. In fact, if you
could strace it for a little while, and forward it to me off list, I can
take a look.
$ strace -ff -p `pgrep -f zencommand` 2>& | tee /tmp/sendtoeric
$ bzip2 /tmp/sendtoeric
-Eric
Todd Davis wrote:
3610
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erik A. Dahl
Sent: Monday, January 22, 2007 10:29 AM
To: General discussion of using zenoss system
Subject: Re: [zenoss-users] Problems with Nagios Plugins
Todd what revision are you at? (svn info $ZENHOME/Products)?
-EAD
On Jan 22, 2007, at 10:02 AM, Todd Davis wrote:
I've been trying to get some Nagios plugins working with Zenoss and
I'm having some problems.
I've set up a couple of different Nagios checks following the
instructions in the FAQ. I have it set up with the full path for the
command template.
When I look in the zencommand log file, sometimes I see a "command
timed out" for the plugin. When run from the command-line though the
plugin will respond immediately with the results.
Currently, I don't see anything in the zencommand log file (since
yesterday). I don't see anywhere in Zenoss showing the results of the
last attempt to run a given plugin. As a test I also created a Nagios
test calling check_dummy with the parameters to cause it to always
return "critical" so I could test to see if Zenoss was running the
checks and since everything was Ok, just not reporting it.
I see nothing in the log file about the dummy check and no events
appear to be generated by it.
How can I tell if Zenoss is running the checks, and is there a way to
have Zenoss report the last status it received from a check?
I'm running a Zenoss 1.1 build from the trunk (although not
current) on
CentOS 4.4.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users