>
> http://www.fonetglobal.com
> Stop Spam: http://www.cauce.org
>
>
> - Original Message -
> From: "Nibin VM"
> To: "Nagios Users List"
> Sent: Monday, January 24, 2011 9:16:51 AM
> Subject: Re: [Nagios-users] Trying to develop a new perl plu
ssage -
From: "Nibin VM"
To: "Nagios Users List"
Sent: Monday, January 24, 2011 9:16:51 AM
Subject: Re: [Nagios-users] Trying to develop a new perl plugin
Thanks for your reply folks.. :)
Finally I have concluded that the portion which reads the argument has issues.
> From: Nibin VM [mailto:nibin...@piserve.com]
> Sent: January-24-11 10:17
> To: Nagios Users List
> Subject: Re: [Nagios-users] Trying to develop a new perl plugin
>
> $host=$ARGV[0];
>
> It isn't taken correctly when its executed from nagios. Please somebody tel
ng the command line as root; try
> running the command line as your Nagios username.
>
> From: Nibin VM [nibin...@piserve.com <mailto:nibin...@piserve.com>]
> Sent: Sunday, January 23, 2011 10:46 AM
> To: nagios-users@lists.sourceforge.net
> <mailto:n
>Finally I have concluded that the portion which reads the argument has issues.
>
>$host=$ARGV[0];
Read that link I gave you, it explains this thoroughly.
On another note, your plugin looks like you simply query an OID for a value
and return levels based on a range? Why are you writing a plugin t
; Sent: Sunday, January 23, 2011 10:46 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Trying to develop a new perl plugin
>
> Hello guys,
>
> I am trying to write some nagios perl plugin to monitor some services I'm
> responsible for. Initially I tr
users] Trying to develop a new perl plugin
Hello guys,
I am trying to write some nagios perl plugin to monitor some services I'm
responsible for. Initially I tried to write custom plugin to monitor mail
queue using the following script.
===
#!/usr/bin/perl -w
use strict;
use
>As you can see, I use snmp to pull mail queue from the remote server.
>When I try the command from command line it work fine.
Most likely your plugin doesn't conform to ePn guidelines.
http://nagios.sourceforge.net/docs/3_0/epnplugins.html
--
Hello guys,
I am trying to write some nagios perl plugin to monitor some services I'm
responsible for. Initially I tried to write custom plugin to monitor mail
queue using the following script.
===
#!/usr/bin/perl -w
use strict;
use Net::SNMP;
use Getopt::Long;
use lib "/usr/lib64/nag