Hi Team,
We are unable to monitor few parameters of database on some of the database servers, whereas we are able to monitor TNSping, process usage etc. on same database using same script:
1. sga-data-buffer-hit-ratio
2. sga-library-cache-hit-ratio
3. tablespace-fragmentation
4. tablespace-usage
5. corrupted blocks
Please find the attached snapshot for error message.
Kindly suggest.
using same script we are able to monitor same parameters on other database but facing issue on some other database.
Unable to monitor database parameters
Unable to monitor database parameters
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
I2MP Team.
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Re: Unable to monitor database parameters
Usually, if it works for one, but not another, it is the "Preparation of the Database" as shown from the source web site.
https://labs.consol.de/nagios/check_ora ... index.html
Have the DBA verify.
Steve B
https://labs.consol.de/nagios/check_ora ... index.html
Have the DBA verify.
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
Re: Unable to monitor database parameters
Thanks @SteveBeauchemin!
@RIDS_I2MP can you verify with your DBA that all the preparation steps were taken? Improperly preparing the database is what causes the vast majority of these problems.
@RIDS_I2MP can you verify with your DBA that all the preparation steps were taken? Improperly preparing the database is what causes the vast majority of these problems.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Unable to monitor database parameters
Hi Team,
Can you help us to know which parameters or settings we should check regarding DB to troubleshoot this issue.
Can you help us to know which parameters or settings we should check regarding DB to troubleshoot this issue.
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: Unable to monitor database parameters
Here's all the grants mentioned on the plugin's page:
Code: Select all
create user nagios identified by oradbmon;
grant create session to nagios;
grant select any dictionary to nagios;
grant select on V_$SYSSTAT to nagios;
grant select on V_$INSTANCE to nagios;
grant select on V_$LOG to nagios;
grant select on SYS.DBA_DATA_FILES to nagios;
grant select on SYS.DBA_FREE_SPACE to nagios;
--
-- if somebody still uses Oracle 8.1.7...
grant select on sys.dba_tablespaces to nagios;
grant select on dba_temp_files to nagios;
grant select on sys.v_$Temp_extent_pool to nagios;
grant select on sys.v_$TEMP_SPACE_HEADER to nagios;
grant select on sys.v_$session to nagios;Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Unable to monitor database parameters
Thanks team for the help.
It worked by giving the 'nagios' user above permissions.
It worked by giving the 'nagios' user above permissions.
Thanks & Regards,
I2MP Team.
I2MP Team.