Hello,
Currently using Zabbix 5.0.2 & Centos 7.8
I followed the instructions at https://zabbix.org/wiki/Start_with_SNMP_traps_in_Zabbix
and in the instructions the results at log file from the test trap from localhost is
but when I do it i get the below:
a lot of information is missing. why is that?
In case that my help when I do a status at snmptrapd I receive the below warnings
Thank you all
Currently using Zabbix 5.0.2 & Centos 7.8
I followed the instructions at https://zabbix.org/wiki/Start_with_SNMP_traps_in_Zabbix
and in the instructions the results at log file from the test trap from localhost is
HTML Code:
18:58:38 2014/02/26 ZBXTRAP 127.0.0.1 PDU INFO: notificationtype TRAP version 0 receivedfrom UDP: [127.0.0.1]:40780->[127.0.0.1] errorstatus 0 messageid 0 community public transactionid 7 errorindex 0 requestid 0 VARBINDS: DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (55) 0:00:00.55 SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: IF-MIB::linkUp.0.33 IF-MIB::linkUp type=4 value=STRING: "eth0" SNMP-COMMUNITY MIB::snmpTrapCommunity.0 type=4 value=STRING: "public" SNMPv2-MIB::snmpTrapEnterprise.0 type=6 value=OID: IF-MIB::linkUp
but when I do it i get the below:
HTML Code:
16:25:38 2020/09/02 ZBXTRAP 127.0.0.1 PDU INFO: notificationtype TRAP version 0 receivedfrom UDP: [127.0.0.1]:56734->[127.0.0.1]:162 errorstatus 0 messageid 0 community public transactionid 37 errorindex 0 requestid 0 VARBINDS: .1.3.6.1.2.1.1.3.0 type=67 value=Timeticks: (55) 0:00:00.55 .1.3.6.1.6.3.1.1.4.1.0 type=6 value=OID: .1.3.6.1.6.3.1.1.5.4.0.33 .1.3.6.1.6.3.1.1.5.4 type=4 value=STRING: "eth0" .1.3.6.1.6.3.18.1.4.0 type=4 value=STRING: "public" .1.3.6.1.6.3.1.1.4.3.0 type=6 value=OID: .1.3.6.1.6.3.1.1.5.4
a lot of information is missing. why is that?
In case that my help when I do a status at snmptrapd I receive the below warnings
HTML Code:
[root@zabbix snmp]# systemctl restart snmptrapd
[root@zabbix snmp]# systemctl status snmptrapd
â— snmptrapd.service - Simple Network Management Protocol (SNMP) Trap Daemon.
Loaded: loaded (/usr/lib/systemd/system/snmptrapd.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2020-09-02 16:40:24 EEST; 7s ago
Main PID: 4340 (snmptrapd)
Tasks: 2
CGroup: /system.slice/snmptrapd.service
├─4340 /usr/sbin/snmptrapd -On -Lsd -f
└─4359 /usr/bin/perl /usr/sbin/snmptt
Sep 02 16:40:28 zabbix snmptrapd[4340]: perl callback function 0x55e4ae57e800 returns 1
Sep 02 16:40:31 zabbix snmptrapd[4340]: Did not find 'CfprFlowctrlFlowControlRx' in module CISCO-FIREPOWER-TC-MIB (/usr/share/snmp/mibs/CISCO-FIREPOWER-FLOWCTRL-MIB.my)
Sep 02 16:40:31 zabbix snmptrapd[4340]: Did not find 'CfprFlowctrlFlowControlTx' in module CISCO-FIREPOWER-TC-MIB (/usr/share/snmp/mibs/CISCO-FIREPOWER-FLOWCTRL-MIB.my)
Sep 02 16:40:31 zabbix snmptrapd[4340]: Did not find 'CfprFlowctrlFlowControlRx' in module CISCO-FIREPOWER-TC-MIB (/usr/share/snmp/mibs/CISCO-FIREPOWER-SW-MIB.my)
Sep 02 16:40:31 zabbix snmptrapd[4340]: Did not find 'CfprFlowctrlFlowControlTx' in module CISCO-FIREPOWER-TC-MIB (/usr/share/snmp/mibs/CISCO-FIREPOWER-SW-MIB.my)
Sep 02 16:40:31 zabbix snmptrapd[4340]: Too many imported symbols (CfprFabricSwChEpIfRole): At line 287 in /usr/share/snmp/mibs/CISCO-FIREPOWER-FABRIC-MIB.my
Sep 02 16:40:31 zabbix snmptrapd[4340]: Unlinked OID in CISCO-FIREPOWER-FABRIC-MIB: cfprFabricObjects ::= { ciscoFirepowerMIBObjects 26 }
Sep 02 16:40:31 zabbix snmptrapd[4340]: Undefined identifier: ciscoFirepowerMIBObjects near line 347 of /usr/share/snmp/mibs/CISCO-FIREPOWER-FABRIC-MIB.my
Sep 02 16:40:31 zabbix snmptrapd[4340]: Did not find 'CfprSmAppInstanceFsmTaskFlags' in module CISCO-FIREPOWER-TC-MIB (/usr/share/snmp/mibs/CISCO-FIREPOWER-SM-MIB.my)
Sep 02 16:40:31 zabbix snmptrapd[4340]: Did not find 'CfprSmLdMode' in module CISCO-FIREPOWER-TC-MIB (/usr/share/snmp/mibs/CISCO-FIREPOWER-SM-MIB.my)
Hint: Some lines were ellipsized, use -l to show in full.
[root@zabbix snmp]#
[root@zabbix snmp]#
[root@zabbix snmp]#
[root@zabbix snmp]# systemctl status snmptrapd -l
â— snmptrapd.service - Simple Network Management Protocol (SNMP) Trap Daemon.
Loaded: loaded (/usr/lib/systemd/system/snmptrapd.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2020-09-02 16:40:24 EEST; 21s ago
Main PID: 4340 (snmptrapd)
Tasks: 1
CGroup: /system.slice/snmptrapd.service
└─4340 /usr/sbin/snmptrapd -On -Lsd -f
Sep 02 16:40:41 zabbix snmptrapd[4340]: Cannot find module (DIFFSERV-MIB): At line 38 in /usr/share/snmp/mibs/CISCO-IETF-ISIS-MIB
Sep 02 16:40:41 zabbix snmptrapd[4340]: Did not find 'IndexIntegerNextFree' in module #-1 (/usr/share/snmp/mibs/CISCO-IETF-ISIS-MIB)
Sep 02 16:40:41 zabbix snmptrapd[4340]: Cannot find module (MPLS-LSR-STD-MIB): At line 36 in /usr/share/snmp/mibs/MPLS-L3VPN-STD-MIB
Sep 02 16:40:41 zabbix snmptrapd[4340]: Did not find 'MplsIndexType' in module #-1 (/usr/share/snmp/mibs/MPLS-L3VPN-STD-MIB)
Sep 02 16:40:41 zabbix snmptrapd[4340]: Module not found (ISIS-MIB): At line 49 in /usr/share/snmp/mibs/ISIS-CAPABILTY-MIB
Sep 02 16:40:41 zabbix snmptrapd[4340]: Cannot find module (DIFFSERV-MIB): At line 32 in /usr/share/snmp/mibs/MPLS-TE-STD-MIB
Sep 02 16:40:41 zabbix snmptrapd[4340]: Did not find 'IndexIntegerNextFree' in module #-1 (/usr/share/snmp/mibs/MPLS-TE-STD-MIB)
Sep 02 16:40:41 zabbix snmptrapd[4340]: Agent IP address was blank, so setting to the same as the host IP address of 10.10.4.74
Sep 02 16:40:41 zabbix snmptrapd[4340]: Agent IP address (10.10.4.74) is the same as the host IP, so copying the host name: UNKNOWN
Sep 02 16:40:41 zabbix snmptrapd[4340]: perl callback function 0x55e4ae57e800 returns 1
Thank you all
Comment