Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Informix > onsnmp with net...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 14085 of 15119
Post > Topic >>

onsnmp with net-snmp

by Holger de Wall <holger@[EMAIL PROTECTED] > May 21, 2008 at 11:19 AM

I try to use the SNMP subagent from Informix (IDS 10.00.UC6) with the 
master agent from net-snmp, which is installed on openSuSE 10.3.

When I start the IDS, the net-snmp daemon, and the subagent onsrvapd,
I can fetch snmp information:
snmpget -v1 -c public localhost \ 
..mib-2.39.1.7.1.4.893169000.7.77.83.71.80.65.84.72.1

But after the database server is restartet the above 'snmget' command 
failes with the answer:
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: 
SNMPv2-SMI::mib-2.39.1.7.1.4.893169000.7.77.83.71.80.65.84.72.1

Why is it necessary also to restart the onsrvapd after restarting the 
database engine?


Here is the /tmp/onsnmp.log after the first IDS start
----------------------------------------------
Wed May 21 10:35:27 2008
INFO :  OnSnmp Version 10.00.UC6
INFO :  OnSnmpInit-Started pid 22771 [-n'ids_lkv' -k5 -p5 -l'/tmp' -g32 
-r4].
Wed May 21 10:52:35 2008
MAJOR:  onCheckServerStatus[169] - Status changed from 1 to 3.
MAJOR:  onCheckServerStatus[169] - Server not Up.
MAJOR:  'esqlDisconnectServer Current': SQLCODE -25582 iserrno 0. (At 
'./ondbtb.ec':180).
MAJOR:  Network connection is broken.
Wed May 21 10:52:40 2008
MAJOR:  onCheckServerStatus[169] - Status changed from 3 to 2.
----------------------------------------------

and the /tmp/onsrvapd.4833decf58f2.log
----------------------------------------------
INFO :  Online Server Discovery daemon 'onsrvapd'  Version 10.00.U
INFO :  onsrvapd pid 22770, poll 5 secs, linger 5 mts, logfile 
/tmp/onsrvapd.4833decf58f2.log.
Wed May 21 10:35:28 2008
INFO :  startSubagent - Pid 22771 '/opt/informix/bin/onsnmp' 'onsnmp' 
[-n'ids_lkv' -k5 -p5 -l'/tmp' -g32 -r4.]
Wed May 21 10:52:39 2008
MAJOR:  Server [ids_lkv, 169] down. Lingering Subagent pid 22771.
Wed May 21 10:53:14 2008
INFO :  Server [ids_lkv, 169] up now. Subagent pid 22771 re-active.
----------------------------------------------
The ids_lkv is the DBSERVERNAME value in $ONCONFIG, which is also in the 
sqlhosts:
ids_lkv   onsoctcp   localhost   sqlexec


In the snmp-config file /etc/snmp/snmp.conf I added two lines:
------------
smuxpeer 0.0
smuxsocket 0.0.0.0
------------

I copied the $INFORMIXDIR/snmp/*.mib files to /usr/share/snmp/mibs/

Holger de Wall
 




 1 Posts in Topic:
onsnmp with net-snmp
Holger de Wall <holger  2008-05-21 11:19:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 23:48:56 CST 2008.