Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Add more fields into alerts for nagios #13

Open
bcsmith-fs opened this issue Mar 11, 2015 · 3 comments
Open

Add more fields into alerts for nagios #13

bcsmith-fs opened this issue Mar 11, 2015 · 3 comments

Comments

@bcsmith-fs
Copy link

Is is possible to enable more fields like to the alerts going into slack, for example on an acknowlegement you just get ACKNOWLEDGED, If I add fields for $SERVICEACKAUTHOR$ and $SERVICEACKCOMMENT$ they do not show up in the alert. My service alert script looks like so:

$USER1$/slack-nagios.pl -field slack_channel=#alert -field HOSTALIAS="$HOSTNAME$" -field SERVICEDESC="$SERVICEDESC$" -field SERVICESTATE="$SERVICESTATE$" -field SERVICEOUTPUT="$SERVICEOUTPUT$" -field NOTIFICATIONTYPE="$NOTIFICATIONTYPE$" -field SERVICENOTES="$SERVICENOTES$" -field SERVICEACKAUTHOR="$SERVICEACKAUTHOR$" -field SERVICEACKCOMMENT="$SERVICEACKCOMMENT$"

@neizmirasego
Copy link

+1

@richardj-bsquare
Copy link

LONGSERVICEOUTPUT please!

@tsuchm
Copy link

tsuchm commented Oct 12, 2018

I need a feature to add a hyperlink which points to the Nagios web console into the alerts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants