Oracle Wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Oracle Wizard

Post by BanditBBS »

What permissions does the user need to have that i will be using in the Oracle wizards?

Thanks!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Oracle Wizard

Post by slansing »

The user would need "Can (re)configure hosts and services." This will allow them to run a wizard without having access to the CCM. They can also configure add and delete their own services and hosts.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Oracle Wizard

Post by BanditBBS »

Sorry, you missunderstood my question, guess I didn't phrase it that great :oops:

While running the Oracle wizard, it asks for a server IP and a username and password to connect to oracle with...what permissions does that Oracle user need?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Oracle Wizard

Post by slansing »

Ah sorry for the misunderstanding, the user is typically set up specifically for Nagios, and it's permissions would be based on what you are accessing. Usually read access but its all dependent on your needs.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Oracle Wizard

Post by nscott »

The underlying plugin suggests this:

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;


-- or if you're using oracle 8.7.1 --
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;
Nicholas Scott
Former Nagios employee
Locked