I need to be able to trigger an alert if an O365 email account has greater than X number of unread emails in it.
Does anyone know if this can be done with Nagios XI?
Thanks!
O365 Email Message Count
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: O365 Email Message Count
@cnewstrom, Looks like this plugin can do what you're looking for.
https://exchange.nagios.org/directory/P ... ls/details
Feel free to check out our mail section of the Nagios Exchange, you'll likely find more plugins for Office 365:
https://exchange.nagios.org/directory/P ... -Groupware
https://exchange.nagios.org/directory/P ... ls/details
Feel free to check out our mail section of the Nagios Exchange, you'll likely find more plugins for Office 365:
https://exchange.nagios.org/directory/P ... -Groupware
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: O365 Email Message Count
I've checked out the check_unread_mails.pl script already.
Has anyone gotten this to work agains an O365 account?
I couldn't seem to get it going against O365 for some reason.
Has anyone gotten this to work agains an O365 account?
I couldn't seem to get it going against O365 for some reason.
Re: O365 Email Message Count
I'm pretty sure the issue was certificate related, but I also think the script might need some updating.
If anyone is successfully using this script I'd appreciate any tips they might lend.
Thanks!
If anyone is successfully using this script I'd appreciate any tips they might lend.
Thanks!
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: O365 Email Message Count
@cnewstrom, I'm not using O365 in the lab so can't test this. Looks like the author of this plugin left the link to his LinkedIn on the plugin page
:
https://exchange.nagios.org/directory/P ... ls/details
You could try reaching out to him directly or even better, open a new issue on the GitHub page:
https://github.com/elio78/nagios/issues/new
https://exchange.nagios.org/directory/P ... ls/details
You could try reaching out to him directly or even better, open a new issue on the GitHub page:
https://github.com/elio78/nagios/issues/new
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: O365 Email Message Count
I've attached a modified script that points to the correct modules. I also needed to install the CBC.pm module:
yum -y install perl-Crypt-CBC
yum -y install perl-Crypt-CBC
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: O365 Email Message Count
Thanks for the help with the module.
Were you actually able to get this to run?
Were you actually able to get this to run?
Re: O365 Email Message Count
I'm not able to fully test since I don't have a 0365, but did correct some problems that would arise due to the script pointing at old modules.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.