Hello mates.
I am having a weird problem regarding snmptrap.sh
seems is not reading variables. for example i trace all variables when script is called
2006-12-27 10:22:16 HOSTNAME [IP] (via UDP: [IP]:54862) TRAP, SNMP v1, community PUBLIC
enterprises.9.9.43.2 Enterprise Specific Trap (1) Uptime: 133 days, 21:33:57.67
enterprises.9.9.43.1.1.6.1.3.196 = INTEGER: 1 enterprises.9.9.43.1.1.6.1.4.196 = INTEGER: 2 enterprises.9.9.43.1.
1.6.1.5.196 = INTEGER: 3
hostname -> <UNKNOWN>
ip -> UDP: [IP]:54862
uptime -> sysUpTimeInstance = 133:21:33:57.67
oid -> snmpTrapOID.0 = enterprises.9.9.43.2.0.1
address -> enterprises.9.9.43.1.1.6.1.3.196 = 1
community-> enterprises.9.9.43.1.1.6.1.4.196 = 2
seems that by some reason solaris is not getting or parsing the snmptrapd output .. because variables are not filled right,
can any1 help me? guess is a carry return problem in my system.. so read is not parsing ok ...
seems that read is not reading ok the output from snmptrapd ..
using net-snmp 5.4, solaris 8, zabbix 1.1.4
I am having a weird problem regarding snmptrap.sh
seems is not reading variables. for example i trace all variables when script is called
2006-12-27 10:22:16 HOSTNAME [IP] (via UDP: [IP]:54862) TRAP, SNMP v1, community PUBLIC
enterprises.9.9.43.2 Enterprise Specific Trap (1) Uptime: 133 days, 21:33:57.67
enterprises.9.9.43.1.1.6.1.3.196 = INTEGER: 1 enterprises.9.9.43.1.1.6.1.4.196 = INTEGER: 2 enterprises.9.9.43.1.
1.6.1.5.196 = INTEGER: 3
hostname -> <UNKNOWN>
ip -> UDP: [IP]:54862
uptime -> sysUpTimeInstance = 133:21:33:57.67
oid -> snmpTrapOID.0 = enterprises.9.9.43.2.0.1
address -> enterprises.9.9.43.1.1.6.1.3.196 = 1
community-> enterprises.9.9.43.1.1.6.1.4.196 = 2
seems that by some reason solaris is not getting or parsing the snmptrapd output .. because variables are not filled right,
can any1 help me? guess is a carry return problem in my system.. so read is not parsing ok ...
seems that read is not reading ok the output from snmptrapd ..
using net-snmp 5.4, solaris 8, zabbix 1.1.4