webpass wrote:
> Hello,
> 
> First off, I have no idea why you would do this when you could just run a 
> cronjob.
> 

Well, it's for monitoring, and I thought I could use a monitoring tool for, 
say, monitoring stuff...  :-\   In any event, I thought it would be relatively 
easy.  :-(


> 
> Second off, clear the zCommandPath zproperty. Either that is your problem or 
> there is something is wrong with your script. Maybe you haven't set the 
> executable bit? (try chmod +x /usr/local/bin/checkml)
> 
> Also make sure you bind the template to that device.

I cleared the zproperty.  And the template is bound.  Now when I try to test 
the command (using the Data Source), it says, "Unable to create test command" 
in the Zenoss web interface.

The problem is not in my script, for the following reasons:
Zenoss is appending a slash to the command.
The script's permissions are fine:  rwxr-xr-x
The script runs fine out of the shell.
The script is extraordinarily simple:  

Code:
echo "Hi!  This is the output of checkml."




Finally, I tried linking my executable into $ZENHOME/libexec, but even that 
didn't work.

Thanks for the reply. :?




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=27090#27090

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to