Re: [Nagios-users] Trying to develop a new perl plugin

2011-01-25 Thread Nibin VM
> > 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

Re: [Nagios-users] Trying to develop a new perl plugin

2011-01-24 Thread Alexandro Conde Martínez
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.

Re: [Nagios-users] Trying to develop a new perl plugin

2011-01-24 Thread Onotsky, Steve x55328
> 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

Re: [Nagios-users] Trying to develop a new perl plugin

2011-01-24 Thread Paul M. Dubuc
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

Re: [Nagios-users] Trying to develop a new perl plugin

2011-01-24 Thread Joseph L. Casale
>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

Re: [Nagios-users] Trying to develop a new perl plugin

2011-01-24 Thread Nibin VM
; 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

Re: [Nagios-users] Trying to develop a new perl plugin

2011-01-23 Thread Boyer, Timothy A.
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

Re: [Nagios-users] Trying to develop a new perl plugin

2011-01-23 Thread Joseph L. Casale
>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 --

[Nagios-users] Trying to develop a new perl plugin

2011-01-23 Thread Nibin VM
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