Skip to contentSkip to conversation

SNMP traps on path failures?

multipath Magnus Hagebris 2 participants 2 messages Jun 28, 2007 – Jun 29, 2007 Device mapper

lore
Share & tools
lore
#0 lore raw

So I can look at the log files for path failures, maybe even use logsurfer to parse and send a snmp trap. But wouldn't there be nice to have som builtin hook to use instead?

What's the policy for path failure notifications? Are we simply suppose to parse the log files? Are there any enhancements in this field? Or am simply missing something very trivial?

Using RHEL4u5 if that matters...

Best regards,
Magnus Hagebris

#1 lore raw

As far as I know path failures generate device-mapper events which a user process wait on. In more recent versions
of the library there also is the dmeventd which an application can hook into.

Mit freundlichem Gruß / Regards,
Stefan Bader

SW Linux on zSeries Development
[email protected]

IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
----------------------------------------------------------------------------------
When all other means of communication fail, try words.

[email protected] wrote on 28.06.2007 18:38:19:

Quoted 17 lines

So I can look at the log files for path failures, maybe even use logsurfer to parse and send a snmp trap. But wouldn't there be nice to have som builtin hook to use instead?

What's the policy for path failure notifications? Are we simply suppose to parse the log files? Are there any enhancements in this field? Or am simply missing something very trivial?

Using RHEL4u5 if that matters...

Best regards,
Magnus Hagebris

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel