IS there a plugin to check the delete folder ms exchange

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
gmills
Posts: 114
Joined: Wed Jun 12, 2019 2:08 pm

IS there a plugin to check the delete folder ms exchange

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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/
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
gmills
Posts: 114
Joined: Wed Jun 12, 2019 2:08 pm

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

Post by gmills »

thank you very much, appreciated - I will try these out
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

gmills wrote:thank you very much, appreciated - I will try these out
Sounds good
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
gmills
Posts: 114
Joined: Wed Jun 12, 2019 2:08 pm

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

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
gmills
Posts: 114
Joined: Wed Jun 12, 2019 2:08 pm

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

Post 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!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

Unfortunately I don't seem to find any plugins that can count emails in a folder on a POP3 server
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked