Configure MSSQL Database size from KB to %

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
akumarhe1868
Posts: 36
Joined: Wed Sep 05, 2018 2:23 am

Configure MSSQL Database size from KB to %

Post by akumarhe1868 »

Hi,

Please suggest how to configure the MSSQL database size from KB to % as we could see in the Database wizards as KB in Nagios XI

We need to set for warning 75% and Critical 85%

Appreciate your help.

Thanks,
Anand
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Configure MSSQL Database size from KB to %

Post by scottwilkerson »

akumarhe1868 wrote:Hi,

Please suggest how to configure the MSSQL database size from KB to % as we could see in the Database wizards as KB in Nagios XI

We need to set for warning 75% and Critical 85%

Appreciate your help.

Thanks,
Anand
This isn't possible because there isn't an upper limit to calculate a percentage against. MSSQL databases can grow to any size.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
akumarhe1868
Posts: 36
Joined: Wed Sep 05, 2018 2:23 am

Re: Configure MSSQL Database size from KB to %

Post by akumarhe1868 »

Thank you.

TO find an alternative, we have wrote a script to get the space usage and configured using wizard MSSQL Query.

Query has been Ok status with value 77 but this was not showing an alert if I set warning 75 and critical 80

Could you please advise how this alert issue can be overcome.

Thanks,
Anand
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Configure MSSQL Database size from KB to %

Post by scottwilkerson »

Can you share this script?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked