Monitor Oracle DB from SAP User

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
ruffsense
Posts: 140
Joined: Thu Apr 11, 2013 12:40 am

Re: Monitor Oracle DB from SAP User

Post by ruffsense »

The SAP user has permissions to the DB. So it's credentials and username must be on the DB or in a group.

Read or write permissions. Ask the DB owner.
I don't insult, I diagnose.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Monitor Oracle DB from SAP User

Post by avandemore »

The Oracle plugin requires a Oracle user.
Previous Nagios employee
nietonoshana
Posts: 26
Joined: Thu Jul 04, 2013 1:05 pm

Re: Monitor Oracle DB from SAP User

Post by nietonoshana »

Hello the file README say:
How to prepare the database for monitoring
--------------------------------------
create user nagios identified by 'whatever';
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;

on 8.x the user must be granted the SELECT_CATALOG_ROLE
grant select_catalog_role to nagios;
instead of "grant select any dictionary..."

If you monitor the oracle 7.x database at the local computer museum:
grant select on V_$SYSSTAT to nagios;
grant select on sys.dba_tablespaces to nagios;
grant select on sys.dba_free_space to nagios;
grant select on sys.dba_data_files to nagios;
change nagios for SAP user and the permission needs its a grant. You do not need to create a user if you already have it.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Monitor Oracle DB from SAP User

Post by dwhitfield »

@nietonoshana, thanks for jumping in!

@prasadt, does that help you out?
prasadt
Posts: 25
Joined: Wed Sep 24, 2014 1:18 am

Re: Monitor Oracle DB from SAP User

Post by prasadt »

@ avandemore,
If we don't install Oracle plugin in nagiosxi server and don't want to use Orcale configuration wizard, In that case Is it possible to install any SAP plugin where we can provide SAP user credentials who is having permission to DB.

Our final goal is to monitor Oracle DB from SAP user. The SAP user has permission to DB.
To achieve this, If you suggest to install oracle plugin or any SAP plugin, we are ready for that.

@ nietonoshana,
I didn't understand, "change nagios for SAP user and the permission needs its a grant. You do not need to create a user if you already have it." Kindly give some clarity on this.

@ dwhitfield,
Still its not resolved.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Monitor Oracle DB from SAP User

Post by dwhitfield »

Can you draw us a diagram and upload the image? What you are saying still doesn't make sense, if I understand you correctly.

It sounds like you want to monitor Oracle without an Oracle plugin of any sort. Unless you want to rewrite a different plugin to suit your needs, that isn't going to work.
Locked