I just want add that I can see the agent receive the snmpwalk request now, but I have timeout error when I execute snmpwalk request.
Sandrine. Sandrine MONOT a écrit : > Good morning Dave, > > I have done again the test with your correction about -p option: > I can see the agent receive the snmpwalk request now. > > > I have two snmp.conf files : > - /etc/snmp/snmpd.conf : snmpd.conf1 in joined file. > - /etc/snmp/conf/snmpd.conf : snmpd.conf2 in joined > file. > > I have a question about master agent : my code use system management > agent in launching "/etc/init.d/init.sma" > It was ok on solaris 10 with ucd-snmp old version .... > It is compatible with net-snmp 5.4 with x86? > > Thanks for you help. > > Sandrine. > > > > > Dave Shield a écrit : >> On 14/05/07, Sandrine MONOT <[EMAIL PROTECTED]> wrote: >>> I have done the porterage of this agents with net-snmp 5.4 to x86 >>> solaris 10. >> >>> When I launch the agent binary : /opt/FERMA/sbin/agtcks -p 7075 .... >> >> The '-p' flag was dropped with the switch from v4 (UCD) to v5 (Net-SNMP) >> >> Try >> /opt/FERMA/sbin/agtcks -c /etc/opt/FERMA/agent.cfg -f -Le -d 7075 >> >> >> >>> And I execute : snmpwalk -c public -p 7075 172.17.118.18 72.17.118.18 >>> .1.3.6.1.4.1.2390.1.3.1 from other machine. >> >> Again, the '-p' option is obsolete. (And client tools typically >> default to SNMPv3) >> Try >> snmpwalk -v 1 -c public 172.17.118.18:7075 .1.3.6.1.4.1.2390.1.3.1 >> >> >> >> >>> the agent receive the following packet : ( but not responding to this >>> request ) >>> Received 43 bytes from UDP: [172.17.100.151]:60058 >>> 0000: 30 29 02 01 00 04 06 70 75 62 6C 69 63 A0 1C 02 >>> 0).....public... >>> 0016: 04 52 6E 13 EC 02 01 00 02 01 00 30 0E 30 0C 06 >>> .Rn........0.0.. >>> 0032: 08 2B 06 01 02 01 01 03 00 05 00 .+......... >>> >>> Received SNMP packet(s) from UDP: [172.17.100.151]:60058 >>> GET message >>> -- SNMPv2-MIB::sysUpTime.0 >> >> >> What does the snmpd.conf file look like? >> >> Dave >> > > ------------------------------------------------------------------------ > > com2sec nro default public > com2sec nrw default netman > > group nrogp v1 nro > group nrogp v2c nro > group nrwgp v1 nrw > group nrwgp v2c nrw > > view fview included .1 > > access nrogp "" any noauth exact fview none none > access nrwgp "" any noauth exact fview fview none > > > #com2sec public default public > > #group public v1 public > #group public v2c public > > > #view fview included .1.3.6.1.4.1.2390 > #access nrogp "" any noauth exact fview none none > > > #rocommunity public > > #rwcommunity netman > > syslocation Unknown > syscontact Root <[EMAIL PROTECTED]> > > > #-----------------------------------------------------------------------# > # PROXIES > #-----------------------------------------------------------------------# > # Ferma Agent HOST > proxy -v 1 -c netman localhost:7070 .1.3.6.1.2.1.25 > # Ferma Agent IDM > proxy -v 1 -c netman localhost:7071 .1.3.6.1.4.1.2390.1.2.2 > # Ferma Agent SDP > proxy -v 1 -c netman localhost:7072 .1.3.6.1.4.1.2390.2.3.2 > # Ferma Agent GATEWAY > proxy -v 1 -c netman localhost:7073 .1.3.6.1.4.1.2390.2.3.1 > # Ferma Agent UCC > proxy -v 1 -c netman localhost:7074 .1.3.6.1.4.1.2390.1.4.4 > # Ferma Agent CHECKSYS > proxy -v 1 -c netman localhost:7075 .1.3.6.1.4.1.2390.1.3.1 > # Ferma Agent AES > proxy -v 1 -c netman localhost:7076 .1.3.6.1.4.1.2390.2.6 > # Ferma Agent SMGW > proxy -v 1 -c netman localhost:7077 .1.3.6.1.4.1.2390.1.4.3 > # Ferma Agent TCAP > proxy -v 1 -c netman localhost:7078 .1.3.6.1.4.1.2390.1.4.1 > # Ferma Agent USSD > proxy -v 1 -c netman localhost:7079 .1.3.6.1.4.1.2390.2.5 > # Ferma Agent INCC > proxy -v 1 -c netman localhost:7080 .1.3.6.1.4.1.2390.2.3.6 > # Ferma Agent MAILIS > proxy -v 1 -c netman localhost:7081 .1.3.6.1.4.1.2390.2.2.4 > # Ferma Agent MAPI > proxy -v 1 -c netman localhost:7082 .1.3.6.1.4.1.2390.2.7 > # Ferma Agent XAS > proxy -v 1 -c netman localhost:7083 .1.3.6.1.4.1.2390.2.8 > # Ferma Agent BRD > proxy -v 1 -c netman localhost:7084 .1.3.6.1.4.1.2390.1.1.2 > # Ferma Agent SS7 > proxy -v 1 -c netman localhost:7085 .1.3.6.1.4.1.2390.1.5.1 > # Ferma Agent SASGW > proxy -v 1 -c netman localhost:7086 .1.3.6.1.4.1.2390.2.9 > # Ferma Agent BAIE HP > proxy -v 1 -c netman localhost:7087 .1.3.6.1.4.1.2390.1.1.3 > # Ferma Agent CONVEDIA > proxy -v 1 -c netman localhost:7088 .1.3.6.1.4.1.2390.2.10 > # Ferma Agent NGNCC > proxy -v 1 -c netman localhost:7089 .1.3.6.1.4.1.2390.1.4.7 > # Ferma Agent VOMS > proxy -v 1 -c netman localhost:7090 .1.3.6.1.4.1.2390.2.10 > # Ferma Agent VXPS > proxy -v 1 -c netman localhost:7091 .1.3.6.1.4.1.2390.2.11 > # Ferma Agent POS > proxy -v 1 -c netman localhost:7092 .1.3.6.1.4.1.2390.2.3.7 > # Ferma Agent SMSE > proxy -v 1 -c netman localhost:7093 .1.3.6.1.4.1.2390.2.12 > # Ferma Agent CHARGING NODE > proxy -v 1 -c netman localhost:7094 .1.3.6.1.4.1.2390.2.14 > # Ferma Agent INAP > proxy -v 1 -c netman localhost:7095 .1.3.6.1.4.1.2390.1.4.8 > # Ferma Agent SVI > proxy -v 1 -c netman localhost:7096 .1.3.6.1.4.1.2390.1.4.5 > # Ferma Agent SUA > proxy -v 1 -c netman localhost:7097 .1.3.6.1.4.1.2390.1.5.2 > > #BEGIN: These lines were introduced by 120273-07 > #dlmod seaProxy /usr/sfw/lib/amd64/libseaProxy.so > #dlmod seaExtensions /usr/sfw/lib/amd64/libseaExtensions.so > #END: These lines were introduced by 120273-07 > > > ------------------------------------------------------------------------ > > # Copyright 1988 - 07/17/00 Sun Microsystems, Inc. All Rights Reserved. > #ident "@(#)snmpd.conf 2.24 00/07/17 SMI" > > # See below for file format and supported keywords > > sysdescr Sun SNMP Agent, > syscontact System administrator > sysLocation System administrators office > # > system-group-read-community public > system-group-write-community netman > # > read-community public > write-community netman > # > #trap 172.17.118.18 > #trap-community SNMP-trap > # > #kernel-file /vmunix > # > #managers lvs golden > managers 172.17.118.18 > > ############################# > > # File Format: > > # Each entry consists of a keyword followed by a parameter string, > # terminated by a newline. The keyword must begin in the first > # position. The parameters are separated from the keyword (and from > # one another) by whitespace. All text following (and including) a '#' > # character is ignored. Case in keywords is ignored, but case in > # parameter strings is NOT ignored. > > # Supported Keywords: > > # sysdescr String to use for sysDescr. > # syscontact String to use for sysContact. > # syslocation String to use for sysLocation. > # > # system-group-read-community Community name needed for read access > # to the system group. > # system-group-write-community Community name needed for write access > # to the system group. > # read-community Community name needed for read access > # to the entire MIB. > # write-community Community name needed for write access > # to the entire MIB (implies read access). > # > # trap Host names where traps should be sent. > # A maximum of 5 hosts may be listed. > # trap-community Community name to be used in traps. > # > # kernel-file Filename to use for kernel symbols. > # > # managers Hosts that can send SNMP queries. > # Only five hosts may be listed on any one line. > # This keyword may be repeated for a total of 32 hosts. > # > # newdevice Additional devices which are not built in snmpd > # format as below > # > # newdevice type speed name > # > # where newdevice is keyword, type is an interger which has to match your > # schema file, speed is the new device's speed, and name is this new > # device's name > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
