Unable to monitor database parameters

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Unable to monitor database parameters

Post by RIDS_I2MP »

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.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: Unable to monitor database parameters

Post by SteveBeauchemin »

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
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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Unable to monitor database parameters

Post by mcapra »

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.
Former Nagios employee
https://www.mcapra.com/
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Unable to monitor database parameters

Post by RIDS_I2MP »

Hi Team,

Can you help us to know which parameters or settings we should check regarding DB to troubleshoot this issue.
Thanks & Regards,
I2MP Team.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Unable to monitor database parameters

Post by mcapra »

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/
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Unable to monitor database parameters

Post by RIDS_I2MP »

Thanks team for the help.

It worked by giving the 'nagios' user above permissions.
Thanks & Regards,
I2MP Team.
Locked