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
[dev.icinga.com #11849] Allow configuring environment variables "env" for (notification) commands #256
Comments
Updated by hashfunktion on 2016-07-12 13:45:06 +00:00 ** That would be great |
Updated by sebastianplattner on 2016-08-18 07:17:58 +00:00 ** I upvote this |
Updated by tgelf on 2016-08-24 14:18:23 +00:00
|
Updated by radovitsa on 2016-09-07 09:39:38 +00:00 +1 |
Updated by mfrosch on 2016-10-25 11:59:58 +00:00
|
Updated by mfrosch on 2016-10-25 12:00:53 +00:00
|
Updated by tgelf on 2016-10-25 12:01:55 +00:00
|
Updated by tgelf on 2016-10-25 12:02:41 +00:00
|
Updated by dannyh on 2017-01-17 05:16:11 +00:00 **+ would be greate to have it |
yes this would be nice to have |
Please add ENV Support :-) |
I believe this is still needed if you have to write custom notification scripts (which is my case). |
+1. I had to write to my own py scripts with arguments. |
+1. This would be really helpful! |
+1 |
2 similar comments
+1 |
+1 |
++ |
need it asap( |
+1 |
This is required for setting |
+1 |
2 similar comments
+1 |
+1 |
I love how this has been open for 3 years and no response from the devs. I guess this is why I can't get pushbullet notifications to work with director. |
i just remove icinga and happily use Prometheus =)
пн, 11 нояб. 2019 г. в 07:42, brando56894 <notifications@github.com>:
… I love how this has been open for 3 years and no response from the devs. I
guess this is why I can't get pushbullet notifications to work with
director.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#256?email_source=notifications&email_token=AEFMORJ2YDSE2TRGNTKI4JLQTDWERA5CNFSM4C73L3JKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDVXGAA#issuecomment-552301312>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEFMORPT7QY7MX2MER4KN3LQTDWERANCNFSM4C73L3JA>
.
|
I also lacked that functionality. The check_memory command needed to be run with an environment variable. LC_ALL = "C". |
+1 |
For check commands this has been implemented. It's described in the docs (https://icinga.com/docs/icinga-2/latest/doc/03-monitoring-basics/#environment-variables) and works. I haven't looked or tried it for notification commands. It may also work. |
As fas as I can tell this is still open. Any comments on if and when this will be adressed? |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11849
Created by tobiasvdk on 2016-05-26 10:20:00 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2017-01-17 05:16:11 +00:00 (in Redmine)
For notification commands you often need to configure the "env" attribute of a NotificationsCommand
Example:
Relations:
The text was updated successfully, but these errors were encountered: