Another Nagios plugin. One of my hardest to write.
Note that this will require the Nagios Plugin Service to run as a Administrator Account (local system account) will
…nagios/libexec# ./check_nrpe -H SERVER114 -t 90 -u -c get_top_mbox -a SERVER114 3 2000 4000
WARNING – Full Name, Mona , 2.517,00 MB – San Pil, Eric , 1.175,00 MB – Cabo Boiola, Manul , 991,00 MB
Well I just went back to this old script, I rewrote so it will now work with Nagios.
The output is simple and just reports total Top emailers, the script also requires/takes 3 arguments
topemailers.vbs 3 5000 10000
would report only the Top 3 senders of yestarday and would raise alarm to Warning if TOTAL emails sent yestarday were 5000 and critical for over 10000.
The scriptauto downloads the required files (logparser.dll)
Note: NRPE_NT service must run under a exchange admin account, under local system it will not work.
Description: Get Top SPammers/Emailers and Send Output Report Via Email , Highly Customized. Can also automaticly Act upon these possibly Spammers by 3 levels of DisableAct, level 0 nothing, 1 REDUCE MAX RECIPIENT, 2 Disable from AD /add to Exchange Blacklist.
Version 8.0 automate all required files.