Re: [Nagios-users] Suse 10.0 - perl plugin return No outpput
Finally this solved my problem. Regards Sunday, September 10, 2006, 4:02:27 PM, you wrote: Hi I've seen this problem on a few perl based plugins. On the occasions I've seen this, theres a line in the script similar as the one below use lib /usr/local/nagios/libexec Change that so it points to the directory in which the perl script resides. Cheers Andrew Andreas Brandino wrote: Hi list, i am using Suse 10.0 with nagios 1.2.x All perl plugins i try to use return No output message. However, all other plugins work just fine. When i run the plugins from command line (as root or daemon) work without problem. Using perl full path in front of the plugin (checkcommands.cfg) still doesnt make any difference. I think this has to do with perl on my system. Any idea? Regards - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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 --- --- --- Brandino Andreas [EMAIL PROTECTED] --- --- --- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Suse 10.0 - perl plugin return No outpput
Am Montag, 11. September 2006 00:55 schrieb John Daily: If you don't want to do that, write a C or shell wrapper that calls the plugin - you will have to rename the plugin so the wrapper can pretend to Nagios that it is the real plugin. Perhaps an easier way would be to specify the full path to Perl before any Perl plugin call: define command { command_name check_ntp command_line /usr/bin/perl $USER1$/check_ntp -H $HOSTADDRESS$ } You could, of course, define the path to Perl in a macro, or even the path to Perl plus the path to the standard plugin dir in one macro, like: Hi John, thist is a very good tip thanks ! There are many perl plugins on NagiosExchange.org which are not testet to work with ePN I think Plugins should be tagged by the developer. For example: # EPN_TESTED in Line 2 So nagios uses ePN only for tagged plugins. What do you think ? Jörg - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Suse 10.0 - perl plugin return No outpput
Hi I've seen this problem on a few perl based plugins. On the occasions I've seen this, theres a line in the script similar as the one below use lib /usr/local/nagios/libexec Change that so it points to the directory in which the perl script resides. Cheers Andrew Andreas Brandino wrote: Hi list, i am using Suse 10.0 with nagios 1.2.x All perl plugins i try to use return No output message. However, all other plugins work just fine. When i run the plugins from command line (as root or daemon) work without problem. Using perl full path in front of the plugin (checkcommands.cfg) still doesnt make any difference. I think this has to do with perl on my system. Any idea? Regards - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Suse 10.0 - perl plugin return No outpput
Dear Sir, I am writing to thank you for your letter and say, On 09/09/06, Andreas Brandino [EMAIL PROTECTED] wrote: Hello Hari, i am not using webinject. While googling i found that a specific version of nagios on suse had problem with the embedded perl. To problem was fixed using a patch. However,my nagios version is different. Anyone else facing the same or similar problem? Your problem may well be with embedded Perl because embedded Perl does not change nearly as fast as Nagios. Please would you send me or the list links to the Suse problem with embedded Perl ? Pretty well the only system dependency I can think of with embedded Perl is the Perl path and this should be dealt with my autoconf and friends. Are you using embedded Perl ? (strings nagios_binary | grep perl should tell you) If so, do the Perl plugins work if you disable embedded Perl ? This is harder to do than to ask since the only way of disabling Perl embedding is to recompile Nagios. If you don't want to do that, write a C or shell wrapper that calls the plugin - you will have to rename the plugin so the wrapper can pretend to Nagios that it is the real plugin. Nagios will not detect the string /bin/perl (see checks.c) in the wrapper so will not call the Perl library directly. Good luck. Yours sincerely. Thank you, Yours sincerely. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Suse 10.0 - perl plugin return No outpput
Hello Hari, i am not using webinject.While googling i found that a specific version of nagios on suse had problem with the embedded perl. To problem was fixed using a patch. However,my nagios version is different. Anyone else facing the same or similar problem?2006/9/8, Hari Sekhon [EMAIL PROTECTED]: Brandino Andreas wrote: Hi Rene,yes all plugins have 755 permissions.The plugins have the same permissions (owned by the root and 755) asthe working one's.Tuesday, September 5, 2006, 6:44:38 PM, you wrote: Hi Andreas. Am Dienstag, 5. September 2006 16:39 schrieb Andreas Brandino: i am using Suse 10.0 with nagios 1.2.xAll perl plugins i try to use return No output message. However, allother plugins work just fine.When i run the plugins from command line (as root or daemon) work without problem.Using perl full path in front of the plugin (checkcommands.cfg) stilldoesnt make any difference.I think this has to do with perl on my system.Any idea? Please check wether all plugings have execution rights for everyone (0755).As far as I remember the SuSE installation didn't set these properly. Rene --- --- --- Brandino Andreas [EMAIL PROTECTED] --- --- --- Are you by any change using webinject? On the off chance that you are, read on: I had this problem at the exact time that you first posted the issue. My fix was to cd dir ./webinject.pl ... which worked fine. Otherwise I kept getting this no output in the web interface which was really bugging me. webinject doesn't handle the full path for the config or test file. In fact it exits 0 which looks like a success but really it fails to open the file(s). You'll see that if you use normal report type. hope that helps. -- Hari Sekhon - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Suse 10.0 - perl plugin return No outpput
Andreas Brandino wrote: i am using Suse 10.0 with nagios 1.2.x All perl plugins i try to use return No output message. However, all other plugins work just fine. I had a problem with one of my recent plugins I made. I was outputting a blank line without realizing it before I echo'd out my actual message. You may want to check for that. -- -Dan Joseph System Administrator - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Suse 10.0 - perl plugin return No outpput
Hi Andreas. Am Dienstag, 5. September 2006 16:39 schrieb Andreas Brandino: i am using Suse 10.0 with nagios 1.2.x All perl plugins i try to use return No output message. However, all other plugins work just fine. When i run the plugins from command line (as root or daemon) work without problem. Using perl full path in front of the plugin (checkcommands.cfg) still doesnt make any difference. I think this has to do with perl on my system. Any idea? Please check wether all plugings have execution rights for everyone (0755). As far as I remember the SuSE installation didn't set these properly. Rene -- -- Tipps Tricks für Linux, MySQL Webdesign - http://home.telebel.de/~referti/blog/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Suse 10.0 - perl plugin return No outpput
Or, make sure that your nagios user is in the same group that owns the plugins currently Best Regards, Scott DeMarco Network Systems Monitoring Engineer Cell: +1 (813) 464-9565 Email: [EMAIL PROTECTED] Office: +1 (813) 221-1600 · Fax: +1 (813) 221-1604 www.saxotech.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rene Fertig Sent: Tuesday, September 05, 2006 11:45 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Suse 10.0 - perl plugin return No outpput Hi Andreas. Am Dienstag, 5. September 2006 16:39 schrieb Andreas Brandino: i am using Suse 10.0 with nagios 1.2.x All perl plugins i try to use return No output message. However, all other plugins work just fine. When i run the plugins from command line (as root or daemon) work without problem. Using perl full path in front of the plugin (checkcommands.cfg) still doesnt make any difference. I think this has to do with perl on my system. Any idea? Please check wether all plugings have execution rights for everyone (0755). As far as I remember the SuSE installation didn't set these properly. Rene -- -- Tipps Tricks für Linux, MySQL Webdesign - http://home.telebel.de/~referti/blog/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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