02-17-2012 02:54 AM - edited 03-11-2019 03:31 PM
Hello.
We are using FWSM with software version 4.1(6) with failover and multi contexts.
We need to generate and send mail notifications when failover occurs.
With this configuration we are receiving syslog only!
fw-csc/1/fw-csc1/act# sh run logg
logging enable
logging list ONLY-HA-SWITCHING message 104001-104002
logging trap ONLY-HA-SWITCHING
logging asdm informational
logging mail ONLY-HA-SWITCHING
logging from-address fw-csc1@dominio.it
logging recipient-address andrea@dominio.it level errors
logging host P2P-FW-CSC1 10.4.42.127
fw-csc/1/fw-csc1/act# sh run smtp
smtp-server 10.4.60.124
fw-csc/1/fw-csc1/act#
Any ideas?
Thanks.
Andrea
02-20-2012 07:34 AM
your configuration looks correct.
you will receive the email alerts with the syslog id in the subject line when the failover occurs.
the syslog id
104001-104002 are only generated when the primary device changes there state so when you get those messages in the email that itself is an indicator that a failover has happened.
02-29-2012 07:23 AM
Many thanks.
Anyway, using the "no failover active" command to change the state I only receive syslog messages from contexts.
No mail messages are received, only logged.
Before...
fw-csc/1/fw-csc1/act(config)# sh logg | i Mail
Mail logging: list ONLY-HA-SWITCHING, 80 messages logged
fw-csc/1/fw-csc1/act(config)#
After failover...
fw-csc/1/fw-csc1/act(config)# sh logg | i Mail
Mail logging: list ONLY-HA-SWITCHING, 86 messages logged
fw-csc/1/fw-csc1/act(config)#
Capture does not show any packets.
Any ideas?
Regards.
Andrea
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide