Home Directory Plugins Cloud check the status of Ms SQL Always On

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check the status of Ms SQL Always On

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2023-03-28
Compatible With
  • Nagios 4.x
  • Nagios XI
Owner
License
GPL
Hits
2001
Files:
FileDescription
check_sqlalwayson.phpcheck_sqlalwayson.php
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This is a simple plugin to monitor if the MS SQL Always On cluster group is in "Healthy" state.
***Description***
This is a simple plugin to monitor if the SQL Always On cluster group is in "Healthy" state.
Any other state will throw an alarm in Nagios.

***Usage***
For correct operation, the server's ip, username and password must be delivered to the script

php check_sqlalwayson.php [Dir IP] [USERNAME] [PASSWORD]

***Example Output***
php check_sqlalwayson.php 10.2.3.4 pablo nagiosmenchile
OK - Always On cluster is in Healthy staten

#################################################################
***Descripción***
Este es un complemento simple para monitorear si el grupo de clúster SQL Always On está en estado "Healthy".
Cualquier otro estado lanzará una alarma en Nagios.

***Uso***
Para su correcto funcionamiento se debe entregar al script la ip del servidor, usuario y contraseña

php check_sqlalwayson.php [Dir IP] [NOMBRE DE USUARIO] [CONTRASEÑA]

***Salida de ejemplo***
php check_sqlalwayson.php 10.2.3.4 pablo nagiosmenchile
OK - El clúster Always On está en estado Healthyn