Dear Folks, Starting with the early 2.x releases there is a better mouse trap called 'new_mini_epn' (thoughtfully stuffed by RedHat in /usr/bin)
On 08/11/06, Janet Post <[EMAIL PROTECTED]> wrote: > WOW!!! > > Thanks Patrick! I will definitely use this tool! > > (and I fixed the -1 thing. Good catch.) > new_mini_epn not only embeds Perl and a facsimile of the Nagios service check running, it also embeds the Perl Term::ReadLine module (if your system has it) so on some systems at least you get file name complettion and command history. (Both mini_epns SEGV if there is not a p1.pl in the cwd. eg cd /usr/bin before running it) eg [EMAIL PROTECTED] bin]# new_mini_epn plugin command line: /usr/lib/nagios/plugins/check_routes -R 10.0.255.3 embedded perl plugin return code and output was: 1 & WARNING. Failed to find expected routes in the route table of 10.0.255.3: missing routes to Adelaide Albany Brisbane1 Brisbane2 Bunbury Darwin Gympie Hobart Mackay Perth Thursday Toowoomba. plugin command line: That's all folks. [EMAIL PROTECTED] bin]# Since I like embedded Perl, I find these tools very useful (recommend that you develop with -w and use strict;) ------------------------------------------------------------------------- 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=lnk&kid=120709&bid=263057&dat=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