Hello all,
I need to monitor some DB parameters. I noticed by accident, that there is an oracle.nsm subagent, that can monitor different DB-parameters. However after hours of trying, I still do not succeed getting info back. Could someone please have a look?
The agent and the console are running both on different machines on win 2003 and the database is running on Centos Linux (Oracle 11; no agent installed). NetXMS version is 1.21.
- I installed the server binary on both machines, because simply copying the oracle.ddr made the agent crash.
- I added following lines to the agent config file:
#
# NetXMS agent configuration file
# Created by server installer at Wed Jun 27 09:51:15 2012
#
LogFile = {syslog}
Servers = <serverip>
InstallationServers = <serverip>
FileStore = C:\NetXMS121\var
RequireAuthentication = no
SubAgent = winperf.nsm
SubAgent = portcheck.nsm
SubAgent = oracle.nsm
*oracle
Id = DB1
TnsName = SID
UserName = USER
Password = PASS
-
After starting the agent via CMD prompt, I get the following:
(See attachment)
-
So everything looks allright, BUT requesting from the NetXMS console:
Oracle.DBInfo.IsReachable() => gives: 'Current value is "NO"'
Oracle.DBInfo.Name() => gives following error: 'Query agent' has encountered a problem. Cannot get current parameter value: Requested data collection item is not supported by agent.
I really have no idea anymore what has to be changed to make this work. Any help is really appreciated!!
Thanxx in advance,
Peter.
