Macro for link in emails

Carlos de Santa-Ana Garcia carlos at dsag.jazztel.es
Sun Jul 18 12:39:47 CEST 2010


  El 17/07/2010 2:44, jimj escribió:
>
> Hello,
>
>
> I'm wondering if there's a way to add a link to email alerts that 
> would provide the URL to the problem? I looked around on the macros 
> page and could find any that might provide this. I'm hoping to have my 
> email alerts look something like:
>
>
> ***** Nagios *****
> Notification Type: PROBLEM
>
> http://<nagioshost>/nagios/cgi-bin/extinfo.cgi?type=2&host=somehost&service=Partition+%2Fbackup 
> <http://%3Cnagioshost%3E/nagios/cgi-bin/extinfo.cgi?type=2&host=somehost&service=Partition+%2Fbackup>
>
> Service: Partition /backup
> Host: somehost
> State: CRITICAL
> Alert Details:
> DISK CRITICAL - free space: /backup 89638 MB (6% inode=98%):
>
>
  Hi

You can use the HOST/SERVICE ALIAS to send anything you like. For 
example a link to the ILO.


Greets
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100718/09a3cd31/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
-------------- next part --------------
_______________________________________________
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