Hi,
I created a service like that :
source /usr/local/nagiosxi/etc/configwizards/oracle/oracle && $USER1$/check_oracle_health $ARG1$
$ARG1$ =
--connect 'xxxxxxxx:1523/Xxxxxxxx' --username 'xxxxxxx' --password 'xxxxxxx' --mode sql --name="select bytes/1024/1024 size_mo from dba_data_files where tablespace_name = 'CIVIROLB'" --warning 1000 --critical 2000
that service help me to monitor the tablespace growth in oracle
My service reached the critical limit and I would like to get my query result history (size_mo), particularly when there were big steps of growing.
How can I get that in NagiosXI ?
Frederic
using check_oracle_health : How to get query result history
-
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: using check_oracle_health : How to get query result hist
If the state never changed you would only see the data as plot points in the graphs (which is averaged).
If the state actually changed you would see the data in the Event Log and State History reports.
You can enable State Stalking on the host/service to log extra, see here:
https://assets.nagios.com/downloads/nag ... lking.html
That's about it other than querying the RRD through the API endpoint.
If the state actually changed you would see the data in the Event Log and State History reports.
You can enable State Stalking on the host/service to log extra, see here:
https://assets.nagios.com/downloads/nag ... lking.html
That's about it other than querying the RRD through the API endpoint.
-
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: using check_oracle_health : How to get query result hist
Hi,
Event Log and State don't meet my expectations (query value on a range of time).
Please see the attachment.
How can I do to get all the values ?
Event Log and State don't meet my expectations (query value on a range of time).
Please see the attachment.
How can I do to get all the values ?
You do not have the required permissions to view the files attached to this post.
-
- Support Tech
- Posts: 5045
- Joined: Tue Feb 07, 2017 11:26 am
Re: using check_oracle_health : How to get query result hist
State stalking is the option you would want but it would need to have been enabled prior to the events.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: using check_oracle_health : How to get query result hist
Hi,
Thanks,
'State stalking is the option you would want but it would need to have been enabled prior to the events.'
How can I activate it ?
Thanks,
'State stalking is the option you would want but it would need to have been enabled prior to the events.'
How can I activate it ?
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: using check_oracle_health : How to get query result hist
Hi,
You can enable the stalking options for the host or service in the CCM under the alert settings tab.
Let us know if you have any other questions.
You can enable the stalking options for the host or service in the CCM under the alert settings tab.
Let us know if you have any other questions.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: using check_oracle_health : How to get query result hist
Thanks,
And the next time I will have an alert, where do I have to go in NagiosXI to see the query values ?
And the next time I will have an alert, where do I have to go in NagiosXI to see the query values ?
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: using check_oracle_health : How to get query result hist
Hi,
As Sean mentioned, you can check the Event Log or the State History Reports or if you want to look directly at the nagios.log, go to:
Let us know if you have any other questions.
Regards,
Benjamin
As Sean mentioned, you can check the Event Log or the State History Reports or if you want to look directly at the nagios.log, go to:
Code: Select all
/usr/local/nagios/var/nagios.log
Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: using check_oracle_health : How to get query result hist
Hi,
Thanks you can close the post.
Frederic
Thanks you can close the post.
Frederic
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: using check_oracle_health : How to get query result hist
Great!Frédéric GRANAT wrote:Hi,
Thanks you can close the post.
Frederic
Locking thread