> I have read about the macros before but what i don't understand is how i send 
> this info to my perl script. I have to read it from somewhere but im not sure 
> where to look for it.
> The echo command will write to command line can i then read the output to my 
> script?

Hi Mikael,

Pipe the output of the echo command to your perl script. In my
example, I pipe all of the echo output to gnokii, which takes care of
sending the SMS.

Peter Edmonds

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to