Send Generic Macros on SNMP TRAP
Posted: Tue Oct 11, 2016 5:44 pm
Hi
Can you help me with my case?
I need send generic macros through of SNMP TRAP.
I will integrate two nagios core with HP OMi , and after that I apply correlation for events of two Nagios but i need to receive SNMP Traps with all macros generic and default of Nagios.
At moment only I have default macros of Nagios
Example default macros Nagios on SNMP TRAP:
Generic: 6; Specific: 7; Enterprise: .1.3.6.1.4.1.20006.1;
Variables:
Example of the generic macros I need send on the SNMP TRAP
Any idea
Regards
Can you help me with my case?
I need send generic macros through of SNMP TRAP.
I will integrate two nagios core with HP OMi , and after that I apply correlation for events of two Nagios but i need to receive SNMP Traps with all macros generic and default of Nagios.
At moment only I have default macros of Nagios
Example default macros Nagios on SNMP TRAP:
Generic: 6; Specific: 7; Enterprise: .1.3.6.1.4.1.20006.1;
Variables:
Code: Select all
[1] .1.3.6.1.4.1.20006.1.3.1.2 (OctetString): http://www.naranya.com
[2] .1.3.6.1.4.1.20006.1.3.1.10 (OctetString): COLOCADO QUERETARO
[3] .1.3.6.1.4.1.20006.1.3.1.6 (OctetString): HTTP
[4] .1.3.6.1.4.1.20006.1.3.1.7 (Integer): 2
[5] .1.3.6.1.4.1.20006.1.3.1.17 (OctetString): CRITICAL
[6] .1.3.6.1.4.1.20006.1.3.1.17 (OctetString): CRITICAL - Socket timeout after 20 seconds
Code: Select all
define host{
use triara-host
host_name http://www.clarovideo.com
alias http://www.clarovideo.com
address http://www.clarovideo.com
_itoc_cliente America Movil #Generic Macro
_itoc_plataforma Akamai Techologies #Generic Macro
_itoc_grupo_whatsapp Triara-Multimedia #Generic Macro
check_command check_dummy
flap_detection_enabled 1
hostgroups URLS_VIP
contact_groups soporten1
notifications_enabled 0
}
Code: Select all
define service{
use local-service
host_name http://www.clarovideo.com
service_description Check URL Desde Monterrey
check_command check_url_itoc!www.clarovideo.com
_itoc_seguimiento_ok El servicio ha sido restablecido #Generic Macro
_itoc_seguimiento_alerta Se presenta alerta en URL VIP, especialista favor de confirmar si se requiere notificar al cliente #Generic Macro
_itoc_solicitud_oper_ok Actividad restablecida. #Generic Macr
_itoc_solicitud_oper_alerta Favor de notificar a las areas correspondientes #Generic Macro
flap_detection_enabled 0
check_interval 1
retry_interval 1
max_check_attempts 3
contact_groups soporten1
notifications_enabled 1
}
Regards