Search found 7 matches
- Tue Mar 10, 2020 4:15 pm
- Forum: Open Source Nagios Projects
- Topic: Notifications into MS Teams
- Replies: 13
- Views: 6512
Re: Notifications into MS Teams
Ok, my bad on not seeing them in the logs (been a long day and was looking on the wrong server) but they were there but reference to notify teams. http://prntscr.com/refgg6 grep notify_teams /var/nagios/objects.cache command_name notify_teams members notify_teams,Ben_Phone,Ben_Email,Eric_Phone,Eric_...
- Tue Mar 10, 2020 2:54 pm
- Forum: Open Source Nagios Projects
- Topic: Notifications into MS Teams
- Replies: 13
- Views: 6512
Re: Notifications into MS Teams
Can you submit a custom notification for xxxx.yyyy.com and see it in the logs? I did that and only received an email and text (no MS Teams) but I don't see in the logs where the notifications were sent/failed. I am sorry but where would I find the logs of notifications? I looked in /var/log/message...
- Tue Mar 10, 2020 9:57 am
- Forum: Open Source Nagios Projects
- Topic: Notifications into MS Teams
- Replies: 13
- Views: 6512
Re: Notifications into MS Teams
[1583531546] SERVICE NOTIFICATION: Eric_Email;xxxx.yyyy.com;SMTP Service;OK;notify-service-by-email; SMTP OK - 0.013 sec. response time Mar 6 16:52:26 mon01 nagios: SERVICE NOTIFICATION: Eric_Email;xxxx.yyyy.com;SMTP Service;OK ;notify-service-by-email;SMTP OK - 0.013 sec. response time Do all of y...
- Tue Mar 10, 2020 9:02 am
- Forum: Open Source Nagios Projects
- Topic: Notifications into MS Teams
- Replies: 13
- Views: 6512
Re: Notifications into MS Teams
Have you added the notify_teams contact to any of the hosts/services? Yes, I've added them to all of my contact groups and reloaded Nagios after doing so. I tested the notifications and I see for example the email notifications in the log but nothing referencing notify_teams. [1583531546] SERVICE N...
- Mon Mar 09, 2020 8:40 pm
- Forum: Open Source Nagios Projects
- Topic: Notifications into MS Teams
- Replies: 13
- Views: 6512
Re: Notifications into MS Teams
I believe you need to pass this to the command --webhook 'https://your incoming webhook url' and based on the looks of it, it may expect you have environment macros turned on in the nagios.cfg The web hook URL is a variable in the perl script, so I have it set there. Also, the environment macros ar...
- Fri Mar 06, 2020 4:45 pm
- Forum: Open Source Nagios Projects
- Topic: Notifications into MS Teams
- Replies: 13
- Views: 6512
Re: Notifications into MS Teams
After doing a little more research, I think this is the proper command format however the notifications still don't seem to be sending.
define command {
command_name notify_teams
command_line $USER1$/nagios-msteams.pl
}
define command {
command_name notify_teams
command_line $USER1$/nagios-msteams.pl
}
- Fri Mar 06, 2020 3:53 pm
- Forum: Open Source Nagios Projects
- Topic: Notifications into MS Teams
- Replies: 13
- Views: 6512
Notifications into MS Teams
I am wondering if anyone has gotten this plugin working and could lend some help. https://exchange.nagios.org/directory/Plugins/Notifications/Notification-for-Microsoft-Teams/details I have the webhook setup in Teams and the test command is working to send messages into the our Teams channel. My que...