How check_mssql_health calculate?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

How check_mssql_health calculate?

Post by xpertech »

How check_mssql_health calculate?

From the attachment graph, the check_mssql_health show 43.01% free space left, I can't figure out how it calculated?
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: How check_mssql_health calculate?

Post by abrist »

Is your database set up for a maximum size? This is weird though.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: How check_mssql_health calculate?

Post by slansing »

It looks like this has been reported before from the consollabs.de page of this plugin:

http://labs.consol.de/nagios/check_mssql_health/

I would ask the developer about this as it seems he answers questions regarding this via email, and does not post the solution. We can try to help from our end but it is unlikely we will be as effective as the developer is.
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: How check_mssql_health calculate?

Post by xpertech »

That DB allocate space was fixed.

What the user want is to monitor the available free space of that DB(fixed space allocated and should not include disk available free space), so I think check_mssql_health is not suitable for this case because it calculate total disk available free space.

Is there recommend wizard or scripts for this situation?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: How check_mssql_health calculate?

Post by slansing »

You could grab the Perf Counters out of windows and use the windows server monitoring wizard, and add them in the Performance Counters section. Otherwise we do have a few MSSQL wizards available from within XI.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: How check_mssql_health calculate?

Post by abrist »

There are also a good number of mssql plugins on the exchange. A few are specifically tablespace size checkers. Take a look:
http://exchange.nagios.org/index.php?op ... word=mssql
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked