Trying to develop a new perl plugin
Joseph L. Casale
jcasale at activenetwerx.com
Mon Jan 24 16:42:39 CET 2011
>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 to use a plugin
that does what you need?
/usr/lib64/nagios/plugins/check_snmp --help
You can search/grep on values/ranges...
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list