When setting up the "Oracle Serverspace" via the Configuration Wizard, as expected, it is requiring a database username and password for the connection. Is there a document anywhere that list out the minimum privileges this user would need to perform the monitoring tasks?
We were planning to create a NAGIOS user just for this purpose but, we want to follow the least privilege principle.
Thanks,
-Joe
Oracle Database User Privileges for Nagios Monitoring
-
joseph.upshaw
- Posts: 3
- Joined: Thu Jul 16, 2020 7:25 am
-
joseph.upshaw
- Posts: 3
- Joined: Thu Jul 16, 2020 7:25 am
Re: Oracle Database User Privileges for Nagios Monitoring
I think I found the answer to my own question here:
https://itgix.com/blog/post/oracle-data ... le-health/
CREATE USER nagios IDENTIFIED BY <PUT_PASSWORD_HERE> account unlock;
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;
https://itgix.com/blog/post/oracle-data ... le-health/
CREATE USER nagios IDENTIFIED BY <PUT_PASSWORD_HERE> account unlock;
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;