Search found 12 matches
- Mon Jul 30, 2012 1:02 pm
- Forum: Nagios XI
- Topic: Check_mssql keeps timing out
- Replies: 4
- Views: 1373
Re: Check_mssql keeps timing out
I am using the check_mssql plugin. I didn't write this plugin myself. I configured the service to check MSSQL with the following command: $USER1$/check_mssql -H <host_IP> -U <username> -P <password> This plugin only checks wether it is able to login to the MSSQL engine or not. If it fails to login, ...
- Sat Jul 28, 2012 5:28 pm
- Forum: Nagios XI
- Topic: Check_mssql keeps timing out
- Replies: 4
- Views: 1373
Re: Check_mssql keeps timing out
I have one other question.
Nagios performs a check every 5 minutes and raises an alert after 5 failed checks. Is it also possible to configure the event handler to occur after 2 or 3 of the checks fail? In that case, Nagios won't perform my failover event handler due to network hickups.
Nagios performs a check every 5 minutes and raises an alert after 5 failed checks. Is it also possible to configure the event handler to occur after 2 or 3 of the checks fail? In that case, Nagios won't perform my failover event handler due to network hickups.
- Sat Jul 28, 2012 1:45 pm
- Forum: Nagios XI
- Topic: Check_mssql keeps timing out
- Replies: 4
- Views: 1373
Check_mssql keeps timing out
Hi all, I am using the check_mssql plugin for Nagios XI to monitor the MSSQL service on of our servers. Attached to this service is an event handler which performs a failover action in case the MSSQL service goes down. However, Nagios keeps saying every now and then that the MSSQL service is down, w...
- Thu Jun 21, 2012 6:21 am
- Forum: Nagios XI
- Topic: Nagios perform command on server down
- Replies: 19
- Views: 5477
Re: Nagios perform command on server down
I'm not positive, but I am guessing that the user that NSClient++ is running under doesn't have permissions to change the files on other machines. You may need to have NSClient++ run as a different user... Did you check this? By default NSClient++ runs under the Local system account which likely do...
- Wed Jun 20, 2012 2:20 pm
- Forum: Nagios XI
- Topic: Nagios perform command on server down
- Replies: 19
- Views: 5477
Re: Nagios perform command on server down
Hi Slansing, I figured out that even when I place the commands to rename the hosts file on localhost at the bottom of my script, these are still the only ones getting executed. The first ones don't which describe to rename the hosts file on another remote host in the LAN. So I assume it has got noth...
- Tue Jun 19, 2012 9:47 am
- Forum: Nagios XI
- Topic: Nagios perform command on server down
- Replies: 19
- Views: 5477
Re: Nagios perform command on server down
Thank you Scott. I am facing another problem now. The .bat file, which the NSclient should execute, only does its action on the machine where the .bat is located. For example, in the .bat file are commands described to rename a hosts file in the system32 folder on localhost and also on some hosts in...
- Wed May 23, 2012 7:32 am
- Forum: Nagios XI
- Topic: Nagios perform command on server down
- Replies: 19
- Views: 5477
Re: Nagios perform command on server down
Hi Scott, I already got it to work. I misplaced my command under the [External Script] section instead of [External Scripts]. Now it does work when I turn off server A. However, server A is an MSSQL server and I actually want Nagios to perform the action as soon as the MSSQL Server Agent stops worki...
- Tue May 22, 2012 8:03 am
- Forum: Nagios XI
- Topic: Nagios perform command on server down
- Replies: 19
- Views: 5477
Re: Nagios perform command on server down
When I run the command i get the following:
UNKNOWN: No handler for that command
Hope you can help me out.
UNKNOWN: No handler for that command
Hope you can help me out.
- Sat May 19, 2012 8:17 am
- Forum: Nagios XI
- Topic: Nagios perform command on server down
- Replies: 19
- Views: 5477
Re: Nagios perform command on server down
Thanks again for your response. I still can't get the command to work. I did everything Scottwilkerson described. Then I turned on the option "Event handler enabled"=on on server A in Nagios. After that, I stopped and started the nsclient on the destination machine (server B). But still, w...
- Fri May 18, 2012 3:21 am
- Forum: Nagios XI
- Topic: Nagios perform command on server down
- Replies: 19
- Views: 5477
Re: Nagios perform command on server down
Hello, I have 10 IIS Windows servers on which the action should be performed. Could you tell me if the following is possible? On the New Command page, configure the following command: $USER1$/check_nrpe -H <SERVER_B_IP> <SERVER_C_IP> <SERVER_D_IP> <SERVER_E_IP> ... -c a_is_down Thanks in advance.