Re: SNMP configuration problems
Posted in 1997
Petteri Yliniemi wrote: } } Javier Puente wrote: } } > JEAN-FRANCOIS_LE-CARRE-PETIT@non-hp-france-om4.om.hp.com wrote: } > } } > } } JEAN-FRANCOIS_LE-CARRE-PETIT@non-hp-france-om4.om.hp.com wrote: } > } } > } > } } > Hello, } > } } > } > } } > we are working on Informix-Online 7.22.UC3 on HP-UX 10.20. } > } } > } > } } > The processes onsrvapd and onsnmp are running and their log } > files don't } > } } > have errors. } > } } > } > } } > The problem is that we can't request the Informix engine with } > SNMP } > } } > messages but requests run for Unix work fine. } > } } > } > } } > It seems that Informix never receive our request. } > } } > } > } } > Should we set the community name in the snmp configuration file } > ? If yes, } > } } > what is it ? } > } } > } > } } > Thanks for your help. } > } } > Jean-Francois. } > } } } > } } } > } } Hi Jean, } > } } I am trying to make ER. If I do remember you require } > } } a MAster Agent for SNMP -- I don't know if you are using the } > } } one provided by your hardware vendor or } > } } the one provided by informix: snmpdm } > } } and a Subagent provided by Informix : onsrvapd. } > } } } > } } Regards, } > } } Javier Puente } > } } > } Hello, } > } } > } We are using the Subagent provided by Informix : onsrvapd and we } > tried both } > } solutions about the } > master Agent and none of them worked. } > } } > } We wonder how the link is done between Informix subagent and Unix } > Master } > } agent. Is there a confifuration file or a environment variable to } > set up ? } > } } > } Thanks for your help, } > } Jean-Francois. } > } > There is an environment variable for define the master agent: } > SR_AGT_CONF_DIR } > I am using SR_AGT_CONF_DIR=$INFORMIXDIR/bin } > } > Any specific information for your hardare is in: } > $INFORMIXDIR/release/....../SNMPDOC7.22 } > } > Altougth , i have do it .There is something that i can't understand: } > In the Guide To Informix Enterprise Replication manual page 7-10 } > there is an illustration of the replication process, here the master } > agent is snmpdm, the subagent is cdragt while in SNMP Subagent guide } > says than subagent is the process onsnmp started by onsrvapd. } > } > Regards, } > Javier Puente } > } > onsrvapd starts the subagent daemon } } Hi } } If you want to use replication, you must start cdr-subagent from } $INFORMIXDIR/bin-directory (cdragt -v 2 (1) ). Read release notes } starting arguments. } } Onsnmp and onsrvapd-deamons are nothing to do with replication ! } } Regards, } petteri.yliniemi@outokumpu.fi Thanks for the help, but there are some problems: 1.- How may i know if the daemons are running properly?????????????? 2.- Additionally when the $INFORMIXDIR/bin/snmpdm daemon is started i get in my /tmp/snmpd.log a message like that: "Cannot open the file /etc/srconf/agt/snmpd.cnf" I don't understand, because the SR_AGT_CONF_DIR environment variable is set to SR_AGT_CONF_DIR=$INFORMIXDIR/snmp/snmpr where resides the snmpd.cnf file. 3.- Also, when i execute cdragt I get: ------------------------------------------------------------------ # ./cdragt -v 2 -t 6 -f /tmp/cdragt.txt Running version 2 at line 147 in file ./cdragt.c Trace Level: 10 at line 155 in file ./cdragt.c Trace produced to /tmp/cdragt.txt at line 163 in file ./cdragt.c ------------------------------------------------------------------- looks like an error , isn't it? Any information, help, documentation,ideas will be really apreciated. Thanks in advance, Javier Puente Corporacion Noboa