Script Description
Powershell based NSClient++ monitoring script for use with Nagios Core.
This script performs the following functions:
- Retrieves the Databases that are running on the monitored server
- Checks to see if they are mounted
- If no databases are resident on the server (in DAG configurations) the script returns the following information string to the Nagios interface:
”OK: No databases are active on this host”
If any database is dismounted the script will return the following exit code:
2: CRITICAL
If all Databases are mounted the script will return an exit code of:
0: OK
![]()
Download
[ GetExchangeLocalDBs.ps1 – 1 KB ]
Usage
Please refer to the following article(s):
- Installing Nagios on Ubuntu Server 11.10 then Monitoring Windows and Exchange Servers–Part 1–Configuring Ubuntu for the Installation of Nagios Core…
- Installing Nagios on Ubuntu Server 11.10 then Monitoring Windows and Exchange Servers–Part 2–Setting up basic Windows Server Monitoring…
- Installing Nagios on Ubuntu Server 11.10 then Monitoring Windows and Exchange Servers–Part 3–Setting up basic Exchange 2010 Monitoring…
- Installing Nagios on Ubuntu Server 11.10 then Monitoring Windows and Exchange Servers–Part 4–Custom Exchange Monitoring Scripts…
























