i've checked the tcp_wrappers issue but this did not help

the /etc/hosts.allow was empty but in /etc/hosts.deny i had (on both snmp and ha-rs1 
hosts):
ALL : ALL EXCEPT 132.72.41. , 127.0.0.1
while snmp and ha-rs2 hosts are both in 132.72.41. segment
the weird thing is that conf did not work(maybe someone knows why?) even
then i've added to /etc/hosts.allow on both hosts:
snmptrapd: 132.72.41. , 127.0.0.1
snmpd: 132.72.41. , 127.0.0.1

only then i've chenged the /etc/hosts.allow, on both hosts, to:
snmptrapd: ALL
snmpd: ALL

i got:
Jul 20 19:56:24 ha-rs2 snmpd[19189]: Received SNMP packet(s) from callback: 1 on fd 4
Jul 20 19:56:24 ha-rs2 snmpd[19189]: Connection from callback: 1 on fd 4

but still no trap is sent ,i've cheked with 'tcpdump port 162' on both hosts.

ps. by the way smnptrapd is running on snmp hosts and get traps from
network appliance snmp agent ok, so i guess there is no problem with
snmptrapd since even with null configuration it should log the traps to
syslog

On Tue, 20 Jul 2004, Alexander Piavka wrote:

>
> in snmpd.conf i have:
> proc rpc.mountd 1 1
> trapsess -Ci -c public -v 2c snmp
> rouser trapsender noauth
> agentSecName trapsender
> monitor -r 10 -o prNames -o prErrMessage "process table" prErrorFlag != 0
>
>  the snmpd does not send trap then i stop the mountd daemon and check with
> snmpwalk i see that snmpd reports that mountd is not running but trap is
> not sent:
> #snmpwalk -c public -v 1 ha-rs2 .1.3.6.1.4.1.2021.2.1
> UCD-SNMP-MIB::prIndex.1 = INTEGER: 1
> UCD-SNMP-MIB::prNames.1 = STRING: rpc.mountd
> UCD-SNMP-MIB::prMin.1 = INTEGER: 1
> UCD-SNMP-MIB::prMax.1 = INTEGER: 1
> UCD-SNMP-MIB::prCount.1 = INTEGER: 0
> UCD-SNMP-MIB::prErrorFlag.1 = INTEGER: 1
> UCD-SNMP-MIB::prErrMessage.1 = STRING: Too few rpc.mountd running (# = 0)
> UCD-SNMP-MIB::prErrFix.1 = INTEGER: 0
> UCD-SNMP-MIB::prErrFixCmd.1 = STRING:
>
>  while in logs i get:
> Jul 20 19:24:54 ha-rs2 snmpd[12073]: Connection from callback: 1 on fd 4 REFUSED
>
>  since i get this message every 10 seconds i guess
> this has to do with trap monitor i've set to run every 10 seconds
>
>  also the snmptrapd on the snmp host does not get any packets from
> the ha-rs2 host
>
>  Please help
>  Thanks
>
>             _.-..
>           ,'9 )\)`-.,.--.
>           `-.|   Piavlo  `.
>              \, Alexander \)
>               `.  )._\   (\
>                |//   `-,//
>                ]||    //"
>                ""     ""
>
>

            _.-..
          ,'9 )\)`-.,.--.
          `-.|   Piavlo  `.
             \, Alexander \)
              `.  )._\   (\
               |//   `-,//
               ]||    //"
               ""     ""



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to