Re: Trying to Use Arguments in Script
Posted: Fri Jan 31, 2014 4:45 pm
@tmcdonald, than you for all your help... Almost seems that you spoon fed me the info at the end...
I've gotten it where I can enter
I've gotten it where I can enter
Code: Select all
perl WeatherGooseII.pl 192.168.1.100 20 10 Temp C
[\code]
and the output is of the following
WARNING: TempC is at or above 20
Current Value: 24.66
Unfortunately I get the following in Nagios
[attachment=0]Nagios screenshot2.png[/attachment]
I have been spending the last hour trying to modify the script, changing information on .cfg files , etc; that I lost track of time. I wanted to thank you for getting me this far. Thank you.