SMS get output from nagios
Peter Edmonds
termx23 at gmail.com
Wed Jan 16 11:07:28 CET 2008
> 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
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