Page 1 of 1

IS there a plugin to check the delete folder ms exchange

Posted: Tue Jun 18, 2019 11:40 am
by gmills
Hello, I'm looking for a plugin that can check the count on the email mailbox DELETE folder

use case:
I have an app that polls the mailboxes, retrieves the emails, extracts the attachmets, etc..
meaning that the mailbox will always - if the app is running, will always be -0- zero.
I need to look at the delete folder and get a count, to see if there is traffic, if the delete folder is not increasing in count, there is a problem.

is there a plugin ( Nagios on Linux ) 4.3.2 version. that can do this?

thank you

Re: IS there a plugin to check the delete folder ms exchange

Posted: Wed Jun 19, 2019 12:03 pm
by scottwilkerson
Here is a thread from a few years back where it was determined you could get the info from powershell and turn that into a plugin
https://support.nagios.com/forum/viewto ... =6&t=43971

powershell commands info here
https://practical365.com/exchange-serve ... owershell/

Re: IS there a plugin to check the delete folder ms exchange

Posted: Wed Jun 19, 2019 12:05 pm
by scottwilkerson
It may also be possible with this plugin, however I have not used it personally
https://labs.consol.de/nagios/check_mai ... index.html

Re: IS there a plugin to check the delete folder ms exchange

Posted: Wed Jun 19, 2019 2:08 pm
by gmills
thank you very much, appreciated - I will try these out

Re: IS there a plugin to check the delete folder ms exchange

Posted: Wed Jun 19, 2019 2:12 pm
by scottwilkerson
gmills wrote:thank you very much, appreciated - I will try these out
Sounds good

Re: IS there a plugin to check the delete folder ms exchange

Posted: Wed Jun 19, 2019 5:11 pm
by gmills
Hello,

the check_mailbox_health works only on IMAP mailboxes.

the power shell plugins I'm a bit confused on, because my Nagios monitor server is RedHat Linux server, and I cannot put an agent on the MS Exchange server, ... how do you monitor a windows MS Exchange mailbox from a Linux Nagios server using the PowerShell scripts?

I'm still a newbie, and really appreciate your help.

I need to test the count on the 'deleted items' folder of a pop3s mailbox, from a linux nagios monitoring server. I don't think the powershell scripts are an option for me, but, I don't really know? thanks again

Re: IS there a plugin to check the delete folder ms exchange

Posted: Thu Jun 20, 2019 6:52 am
by scottwilkerson
In order to use the powershell option you would need to install an agent on the Windows server and add the powershell script as a plugin for the agent such as NCPA

If you decide to go this route, I would recommend making sure you can get the powershell script to work and return what you are looking for and then you can proceed to getting the agent to run the script

Re: IS there a plugin to check the delete folder ms exchange

Posted: Thu Jun 20, 2019 7:23 am
by gmills
thank you for clarification on that. Then that is not an option for me. I cannot put an agent on the Exchange server.

thanks!

Re: IS there a plugin to check the delete folder ms exchange

Posted: Thu Jun 20, 2019 7:27 am
by scottwilkerson
Unfortunately I don't seem to find any plugins that can count emails in a folder on a POP3 server