Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENVs are not populated using notify_by_xmpp #144

Open
lukewarms opened this issue Dec 8, 2022 · 0 comments
Open

ENVs are not populated using notify_by_xmpp #144

lukewarms opened this issue Dec 8, 2022 · 0 comments

Comments

@lukewarms
Copy link

Hi Jason,
I am trying to use the notify_by_xmpp script to send alerts but none of these ENVs get populated just from a host down alert:

$xmpp_text = "$ENV{NAGIOS_NOTIFICATIONTYPE}: $ENV{NAGIOS_HOSTNAME} is $ENV{NAGIOS_HOSTSTATE}: $ENV{NAGIOS_HOSTOUTPUT} ($ENV{NAGIOS_SHORTDATETIME})";

All i get on my XMPP client is : is : ()
Any ideas?
Nice work btw

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

No branches or pull requests

1 participant