It is using the fully qualified path to the plugin. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Blunck Sent: Tuesday, January 02, 2007 10:41 AM To: General discussion of using zenoss system Subject: Re: [zenoss-users] Problem with nagios plugin
Todd, Check the zProperties tab and examine the value of zCommandPath. Then also check your PerfConf for your command. If your command does not include a fully qualified path (e.g. /usr/local/bin/myplugin.sh) then the zCommandPath value will be prepended to the command name. -c Todd Davis wrote: > I've added my first nagios plugin test to Zenoss and am getting some weird > effects. The check in zenoss is getting a return code of 126. Then a little > bit later, it will return the correct results. The effect being multiple > pages for the 126 then the recovery. > > I've looked through the plugin. It's rather simple and never returns a 126. > Is there something in zenoss that would cause it to return a 126 on a plugin > other than actually getting it from the plugin? Has anyone experienced > anything similar? > > > _______________________________________________ > zenoss-users mailing list > [email protected] > http://lists.zenoss.org/mailman/listinfo/zenoss-users > > _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
