mssql wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
italken
Posts: 9
Joined: Fri Jul 26, 2013 2:37 pm

Re: mssql wizard

Post by italken »

returns with OK: Buffer Cache Hit Ratio is 99.9038923594%|buffer_cache_hit_ratio=99.9038923594%;90:;95;;;;
italken
Posts: 9
Joined: Fri Jul 26, 2013 2:37 pm

Re: mssql wizard

Post by italken »

under views, service, service detail ( for the failing alert). I then selected reconfigure. In this box the command being issued is
check_xi_mssql_server!-U 'username' -P 'xxxxxx' -I 'MSSQLSERVER' -p 1433 --bufferhitratio --warning 90: --critical 95:

I then went to /usr/local/nagios/libexec and could not find the command check_xi_mssql_server. This command is missing. Is this a new feature?
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: mssql wizard

Post by yancy »

the directory

Code: Select all

/usr/local/nagios/libexec
is where your plugins exists, in your case check_mssql_server.py

-Yancy
italken
Posts: 9
Joined: Fri Jul 26, 2013 2:37 pm

Re: mssql wizard

Post by italken »

Please advise how to correct the error I am having.

To summarize,
I have installed Nagios using your virtual image.
Windows and unix monitoring works well.
From a command line, I can run the check_mssql_server command and it responds quickly.
The wizard fails.

Please advise.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: mssql wizard

Post by lmiltchev »

under views, service, service detail ( for the failing alert). I then selected reconfigure. In this box the command being issued is
check_xi_mssql_server!-U 'username' -P 'xxxxxx' -I 'MSSQLSERVER' -p 1433 --bufferhitratio --warning 90: --critical 95:
From the "Configure Service" screen, change the above line (remove the port), so that it look like this:

Code: Select all

check_xi_mssql_server!-U 'username' -P 'xxxxxx' -I 'MSSQLSERVER' --bufferhitratio --warning 90: --critical 95:
Click on "Update" -> Confinue -> Schedule an immediate check

and see if it is going to work this way.


I then went to /usr/local/nagios/libexec and could not find the command check_xi_mssql_server. This command is missing. Is this a new feature?
The "/usr/local/nagios/libexec" directory contains the plugins, not the commands. The commands are defined in "/usr/local/nagios/etc/commands.cfg". You will find the "check_xi_mssql_server" command defined there.
Be sure to check out our Knowledgebase for helpful articles and solutions!
italken
Posts: 9
Joined: Fri Jul 26, 2013 2:37 pm

Re: mssql wizard

Post by italken »

Can you direct me to where to change the configuration? From views, service, I selected configure and received the following

This service appears to make use of an advanced configuration. Use the Nagios Core Config Manager to modify the settings for this service.

Does the mssql wizard work? Do I need to manually configure all alerts by removing the -P option?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: mssql wizard

Post by slansing »

You will need to make this change from the CCM:

Configure > Core Configuration Manager > Services > Select the service that you need to change > Then here, change the arguments/etc the same way lmiltchev showed above. Once this is done, click save, then change the others and save them as well, then apply configuration.
Locked