XI's Oracle Plugins - what permissions?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

XI's Oracle Plugins - what permissions?

Post by GldRush98 »

I'll preface this by saying I am not a database guy. I know some MySQL, but even that is pretty limited, so forgive me if the answer to this is obvious. :oops:

I'm being asked what permissions the database user for the Oracle plugin requires? I told them that the query plugin will need select permissions on whatever table they're wanting to pull data from. Is that right? Are there additional permissions required?
If someone with some Oracle knowledge could fill me in here. They're wanting to only give me the absolute minimum permissions necessary, and I'm being asked exactly what I need and I don't really know what to tell them besides select on the tables they want monitored.
I'm also not sure what permissions the Serverspace and Tablespace plugins require.
:?:
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: XI's Oracle Plugins - what permissions?

Post by tgriep »

Try using these permissions for the Oracle database user account.
They should work for the Oracle Plugins.

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 usening 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;
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

Re: XI's Oracle Plugins - what permissions?

Post by GldRush98 »

Thank you for the information. I will pass this along :)
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: XI's Oracle Plugins - what permissions?

Post by tgriep »

Your welcome. If you don't have any more questions, shall I close and lock up the post?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked