Search found 8 matches

by sannatar16
Tue Jul 24, 2018 3:17 am
Forum: Open Source Nagios Projects
Topic: Nagios Core- Snmptt service status failed
Replies: 1
Views: 1413

Nagios Core- Snmptt service status failed

Hello, I am trying to configure nagios server to process snmp traps from nw devices. I have installed nsti and snmptt as well. When I am sending any test trap it is not logged under /var/log/snmptt folder. I see only snmpsystem.log in this folder. In /var/log/messages, seeing the below error when se...
by sannatar16
Fri Jul 20, 2018 6:14 am
Forum: Open Source Nagios Projects
Topic: Plugin to monitor MSSQL DB Mirroring- not working
Replies: 11
Views: 5154

Re: Plugin to monitor MSSQL DB Mirroring- not working

Thanks @mcapra, @cdienger I already tried the steps you mentioned, I ran the query and it seems to be working fine. I also modified the script by substituting the dbname in the query, and also print the fetched row value. When I ran query against the db, it returned one row with the values, But the ...
by sannatar16
Mon Jul 16, 2018 6:45 am
Forum: Open Source Nagios Projects
Topic: Powershell script->no output returned from the command
Replies: 3
Views: 2707

Re: Powershell script->no output returned from the command

Hi Please find the details. I have only one db mirrored so I have hard-coded that in the script itself. So i have no arguments to be passed Service definition: define service { host_name xxxxxxxxx service_description mirroring_status check_command check_mssql_mirroring_status initial_state u max_che...
by sannatar16
Mon Jul 16, 2018 6:36 am
Forum: Open Source Nagios Projects
Topic: Plugin to monitor MSSQL DB Mirroring- not working
Replies: 11
Views: 5154

Re: Plugin to monitor MSSQL DB Mirroring- not working

Sorry my bad. I have corrected the command using the full path. Please find the command output. I ran the script on both Principal and mirrored servers using sa account. Initially i got util.pm error, I changed the lib path after that the output still says Critical. [root@XXXXXX services]# su nagios...
by sannatar16
Fri Jul 13, 2018 10:05 am
Forum: Open Source Nagios Projects
Topic: Powershell script->no output returned from the command
Replies: 3
Views: 2707

Powershell script->no output returned from the command

Hello team, I have created a simple powershell script to test mirroring status, it works as expected from the powershell prompt. I have created a service in nagios for that and it always shows OK, with the output "no output available from command(check_mirroring_status)" My code returns db...
by sannatar16
Fri Jul 13, 2018 9:39 am
Forum: Open Source Nagios Projects
Topic: Plugin to monitor MSSQL DB Mirroring- not working
Replies: 11
Views: 5154

Re: Plugin to monitor MSSQL DB Mirroring- not working

Hi,
Please find the output of the command. It returns command not found.
I haven't created the command,services for this yet, as it is not working in command line itself.
by sannatar16
Thu Jul 12, 2018 8:55 am
Forum: Open Source Nagios Projects
Topic: Plugin to monitor MSSQL DB Mirroring- not working
Replies: 11
Views: 5154

Re: Plugin to monitor MSSQL DB Mirroring- not working

Hi scott, Thanks for replying. I ran the query from Db and it is working fine, I ran Dumptrace also from the command line, it seems the query returns nothing. I always get Critical with no values. In case if I give the wrong password I am getting "Adaptive server connection failed" So I th...
by sannatar16
Wed Jul 11, 2018 6:59 am
Forum: Open Source Nagios Projects
Topic: Plugin to monitor MSSQL DB Mirroring- not working
Replies: 11
Views: 5154

Plugin to monitor MSSQL DB Mirroring- not working

Hello all, I am trying to monitor MSSQL mirroring status from nagios core. When the mirror status is diconnected or suspended, it should give an alert critical. I tried this plugin (https://exchange.nagios.org/directory/Plugins/Databases/SQLServer/Check-MSSQL-Database-Mirroring/details) with sa acco...