Variables Not Showing Up
DShavdia
dshavdia at aol.com
Mon Jun 9 17:42:48 CEST 2003
Hey,
I'm trying to develop a Nagios plug-in (written in Perl). And I have the plug-in print the value:
print "$state: Used: $usedpercent% Free: $gigsfree GBn";
where the variables have apprioprate values. When I run in from my linux box it returns correct values.
Ex: OK: Used: 10% Free: 33.37 GB.
But on Nagios, this shows up: OK: Used: % Free: GB.
This is driving me crazy. Anyone know what's happening?
Thanks for the help.
Dewang
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
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