I have been thrown from the frying pan into the fire.  Due to a recent reduction in force, I have been tasked to pick up our SNMP work which I have no background or experience with.  Initially it was done my a subcontractor for RedHat 9 (which worked fine).  We have now moved to Monta Vista and I am trying to build it for that environment.  After a week, I decided to ask for help:
 
I believe I have built the snmpd and its associated libraries:
 
1. make clean
[this is placed in a bash script]
2. ./configure --exec-prefix="/velSNMP/exe-files"  \
            --prefix="/velSNMP/install-files"  \
            --with-defaults --with-sys-contact="Unknown" \
            --with-mib-modules="host disman/event-mib smux mapping/cardMappingTable mapping/nodeMappingTable" \
            --with-mibdirs="/usr/local/carrius/SnmpAgent/MIBs" \
            --with-sysconfdir="/etc/net-snmp" \
            --with-libwrap="/usr/lib" \
            --enable-shared
3. make all
4. make install
 
However, when we start the software up and query the daemon, we get the following response (We are using the MG-Soft MIB Browser):

Remote address: 192.168.145.38  port: 161 transport: IP/UDP
Local address: 192.168.160.15  port: 2139 transport: IP/UDP
Protocol version: SNMPv1
Operation: Get
Request binding:
1: sysDescr.0 (null) null

Response binding:
Error: No such name
Error index: 1
1: sysDescr.0 (null) null

In addition, we are getting the following errors in the /var/log/snmpd.log file:

    /etc/snmp/snmpd.conf: line 1: Warning: Unknown token: master.
    /etc/snmp/snmpd.conf: line 2: Warning: Unknown token: rwcommunity.
    /etc/snmp/snmpd.conf: line 3: Warning: Unknown token: AgentxTimeout.
    /etc/snmp/snmpd.conf: line 4: Warning: Unknown token: AgentxRetries.
    /etc/snmp/snmpd.conf: line 8: Warning: Unknown token: smuxpeer.
    /etc/snmp/snmpd.conf: line 10: Warning: Unknown token: group.
    /etc/snmp/snmpd.conf: line 11: Warning: Unknown token: view.
    /etc/snmp/snmpd.conf: line 12: Warning: Unknown token: access.
     noauth exact inph_MIB inph_MIB inph_MIB: No such file or directory

 
 
We appreciate any help,
Thanks,
Jim
 


 

Reply via email to