Ad Widget
Collapse
SNMP Trap and multiple payload
Collapse
X
-
hi!! i am totally confused.. i can see all trap in my log files which lies in /var/log/snmptrapd.log.I think this was written on the Brent Jones website. Anyway, if you haven't done so you have to put here the path of your snmptt.conf.x file you have converted with snmpttconvert.
You should also check the snmptrapd log file on your zabbix server to see what reaches the server (need to enable logging on snmptrapd.conf file
i have also configure all key item as given in post http://www.brentrjones.com/?p=13
and also put the path where my snmptt.conf lies ( in brentrjones it is snmptt.conf.dell)
[TrapFiles]
snmptt_conf_files =/usr/local/share/snmp/snmptt.conf
END
i have put my zabbix_sender command in the end of snmptt.conf
but still there is not result on zabbix UI.
Can u guide me on this plzzzComment
-
hi!! manually if I am trying to send "test trap" through zabbix_sender command than i am getting output (Latest data) on zabbix UI..
Is just that zabbix_sender command its not getting called in snmptt.conf ( in case brentrjones snmptt.conf.dell)..
I tried to look more in log file after enabling debug option.. what i found that it is not able to find EXEC zabbix_sender command in snmptt.conf even tho I have mentioned it in the file..
Wat could be reason behind it??Last edited by allrise; 06-04-2009, 18:49.Comment
-
what is the error message for the unability to run the EXEC command ?hi!! manually if I am trying to send "test trap" through zabbix_sender command than i am getting output (Latest data) on zabbix UI..
Is just that zabbix_sender command its not getting called in snmptt.conf ( in case brentrjones snmptt.conf.dell)..
I tried to look more in log file after enabling debug option.. what i found that it is not able to find EXEC zabbix_sender command in snmptt.conf even tho I have mentioned it in the file..
Wat could be reason behind it??
Also have you enable the unkown trap logger to see it the trap does not go there.
Can you post the output of your debug file ? (clean the ip addresses first
)
Comment
-
hi!! this is an error i am getting
EXEC line : EXEC line not defined
this error, i found in snmptt.debug.. can u suggest solution for this..
As already mentioned in my previous post i have mentioned zabbix_sender in my snmptt.conf than also this error is occurring in snmptt.debug file...
hey if its fine with you.. can u please share ur snmptt.conf.x and snmptt.ini files
thanks in advance..Last edited by allrise; 07-04-2009, 09:36.Comment
-
Can you confirm that the EXEC command is in the snmptt.x.conf (sorry my mistake, two months without touching this and you forget the filename) file and not snmpd.conf file.
This is the line i have in my snmptt.esx.conf file
EXEC /usr/sbin/zabbix_sender -v -z zabbixserver -p 10051 -s "$3" -k vpxdTrap -o "$5 $6"
In my snmptt.dell.conf file i have
EXEC /usr/sbin/zabbix_sender -v -z zabbixserver -p 10051 -s "$A" -k "$o" -o "$3"Comment
-
hi!!Can you confirm that the EXEC command is in the snmptt.x.conf (sorry my mistake, two months without touching this and you forget the filename) file and not snmpd.conf file.
This is the line i have in my snmptt.esx.conf file
EXEC /usr/sbin/zabbix_sender -v -z zabbixserver -p 10051 -s "$3" -k vpxdTrap -o "$5 $6"
In my snmptt.dell.conf file i have
EXEC /usr/sbin/zabbix_sender -v -z zabbixserver -p 10051 -s "$A" -k "$o" -o "$3"
i have mentioned this command in snmptt.conf ( which is same as urs my snmptt.esx.conf)
EXEC /usr/local/sbin/zabbix_sender -v -z localhost -p 10051 -s Default_Trapper -k snmptraps -o "$aA / $A :: $s :: $N - $Fz"Comment
-
Sorry for troubling you, even I am also new to SMPTT.. can u explain wat does "$3" -k vpxdTrap -o "$5 $6" mean?Can you confirm that the EXEC command is in the snmptt.x.conf (sorry my mistake, two months without touching this and you forget the filename) file and not snmpd.conf file.
This is the line i have in my snmptt.esx.conf file
EXEC /usr/sbin/zabbix_sender -v -z zabbixserver -p 10051 -s "$3" -k vpxdTrap -o "$5 $6"
In my snmptt.dell.conf file i have
EXEC /usr/sbin/zabbix_sender -v -z zabbixserver -p 10051 -s "$A" -k "$o" -o "$3"Last edited by allrise; 07-04-2009, 09:48.Comment
-
This is relative to the various line in the SNMP trap received... It's of no use for you but you can find the documentation on this on the SNMPTT documentation pageComment
-
hi!! thanks for info.. but i was successfull in configuring the SNMPTT it was very tedious but i somehow manage to configure it.. i thank you for all ur help...
Comment
Comment