Sending availability reports by email

Jim Pye jim.pye at pyenet.co.nz
Tue Feb 7 21:52:04 CET 2006


Note that you will need to quote the URL or the BASH shell sees the &
and does not send the complete line.

J

On Tue, 2006-02-07 at 17:33 +0200, moshe sharon wrote:
>         hello
>         
>         its not a built in feature but you can use wget you can access
>         your report ( along with username and password from the
>         command line fro example:
> wget
> http://your_nagios_server/nagios/cgi-bin/avail.cgi?show_log_entries=&host=all&timeperiod=last7day
>  
> and pipe it to mail program
>  
> Moshe Sharon
>  
-- 
Jim Pye
PyeNet Universal

email: jim.pye at pyenet.co.nz | Phone: +64 4 527 8284 | Fax: +64 4 528 9693
                     web site: http://www.pyenet.co.nz



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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