Page 1 of 1

Modify Gauges in DB monitoring Nagios XI

Posted: Wed Nov 03, 2021 9:07 am
by levidaurric
I am monitoring tablespace (Tablespace Free Space) on Nagios XI. The monitoring and the information is correct but I don't know how to modify the "Gauges" of the information.

I share my check command:
check_oracle_health --connect '172.27.203.xxx:xxx/****' --tablespace PSAPLIPSD --username '****' --password '****' --timeout 100 --mode tablespace-free --units GB --warning 19: --critical 15:




Regards

Re: Modify Gauges in DB monitoring Nagios XI

Posted: Wed Nov 03, 2021 5:22 pm
by ssax
I don't know if check_oracle_health supports it fully (when you pass --units GB it's only going to match against the GB size threshold) but this seemed to work to adjust the gauges:

Code: Select all

check_oracle_health --connect '172.27.203.xxx:xxx/****' --tablespace PSAPLIPSD --username '****' --password '****' --timeout 100 --mode tablespace-free --units GB --warning 10:,19: --critical 5:,15:

Re: Modify Gauges in DB monitoring Nagios XI

Posted: Thu Nov 04, 2021 12:51 pm
by levidaurric
Set up a new service with recommended settings and the gauge looks the same.
The tachometer is shown the same, do you recommend using another plugin to monitor the tablespace?

Re: Modify Gauges in DB monitoring Nagios XI

Posted: Fri Nov 05, 2021 10:28 am
by ssax
What does the Perfdata column show when viewing the service and clicking the + tab?

Re: Modify Gauges in DB monitoring Nagios XI

Posted: Fri Nov 05, 2021 10:59 am
by levidaurric
This is what is displayed ...

Re: Modify Gauges in DB monitoring Nagios XI

Posted: Mon Nov 08, 2021 4:20 pm
by ssax
Thanks, I'm looking for what is required and will post an update shortly, the plugin may not support it entirely and that's the best plugin to use.

Re: Modify Gauges in DB monitoring Nagios XI

Posted: Mon Nov 08, 2021 5:22 pm
by ssax
I can't get it to work with --units GB but this seems to work:

Code: Select all

check_oracle_health --connect '172.27.203.xxx:xxx/****' --tablespace PSAPLIPSD --username '****' --password '****' --timeout 100 --mode tablespace-free --units % --warning 90 --critical 95
You could do it with tablespace-usage as well:

Code: Select all

check_oracle_health --connect '172.27.203.xxx:xxx/****' --tablespace PSAPLIPSD --username '****' --password '****' --timeout 100 --mode tablespace-usage --warning 90 --critical 95

Re: Modify Gauges in DB monitoring Nagios XI

Posted: Thu Nov 25, 2021 9:29 am
by levidaurric
My problem was solved, thank you. :D :D

Re: Modify Gauges in DB monitoring Nagios XI

Posted: Mon Nov 29, 2021 2:49 pm
by ssax
That's great to hear! Let us know when we're okay to lock this up and mark it as resolved.