Oracle monitor failing after plugin update

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
brucej543
Posts: 134
Joined: Thu Jun 21, 2018 9:33 am

Oracle monitor failing after plugin update

Post by brucej543 »

Just updated to 5.6.5 and updated Components and Wizards. After update ALL Oracle Monitor agents are in error status with ORS-28000: the account is locked (DBD ERROR: OCI SessionBegin). The three oracle wizards that were updated: oracle_query, oracle_tablespace and oracle_serverspace. System profile attached
You do not have the required permissions to view the files attached to this post.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Oracle monitor failing after plugin update

Post by mbellerue »

Thank you for providing the profile, I will look into it right away. For now, the error message states that the account is locked. Can you verify that the Oracle account specified for monitoring is working as expected, or unlock it if it is indeed locked?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
brucej543
Posts: 134
Joined: Thu Jun 21, 2018 9:33 am

Re: Oracle monitor failing after plugin update

Post by brucej543 »

Had the DBA check the account and it was locked, He unlocked the account and then went to invalid username/password, DBA verified password and now the went back to account is locked status
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Oracle monitor failing after plugin update

Post by mbellerue »

Let's try rolling back the change that was made. I think the command is breaking with the added single quotes.

If you go to Configure -> Core Config Manager -> Commands, and search for check_xi_oracle, that should bring up the 3 Oracle commands. They currently look like this,

Code: Select all

/bin/bash -c 'source /usr/local/nagiosxi/etc/configwizards/oracle/oracle && $USER1$/check_oracle_health $ARG1$'
Try changing them to this,

Code: Select all

source /usr/local/nagiosxi/etc/configwizards/oracle/oracle && $USER1$/check_oracle_health $ARG1$
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
brucej543
Posts: 134
Joined: Thu Jun 21, 2018 9:33 am

Re: Oracle monitor failing after plugin update

Post by brucej543 »

Made the change to the commands and waiting for the DBA to unlock the account again. I will update when this is done
brucej543
Posts: 134
Joined: Thu Jun 21, 2018 9:33 am

Re: Oracle monitor failing after plugin update

Post by brucej543 »

DBA unlocked account and the service alerts are working correctly now.
Thank you for your assistance in correcting the issue.
You may want to pull back the plugins updates or correct them.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Oracle monitor failing after plugin update

Post by mbellerue »

Excellent, good to know this worked for you. I will get this info out, and see what we can do for a fix to the wizards. Closing thread.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked