I have a need to collect snmptraps and display them in a web interface. The application already includes *ruby on rails *linux *delayed_job (for queueing) *postgresql *A few cron jobs that do snmp queries
Now I need to run something like snmptrapd to collect alarms. Would it be possible for snmptrapd to write its traps to a queue that I can process with a cron job. Something like the built in mqueue of linux would be great. Or even writing it to a postgresql database (I know it supports mysql but no mention of postgres anywhere)
Does anyone know how I can redirect the output of snmptrapd into something I can process with a cron job.