Hi Everyone, I would like to write a second traphandler for using with my Centreon Monitoring Setup. What I need is to save a trap in a separate database. But I can not see any documentation about arguments I can give my script in the snmptrapd.conf?
I see that I can configure additional handlers in snmptrapd.conf like this: traphandle "oid" /home/stefan/traps/write_to_db.pl "args" Is there any documentation on how I can pass arguments like "host" to the perl script? I guess there must be anything or is everything just passed as 1 argument always to the scripts and I have to parse it myself? I just don't get it from the wiki page and example :-( Regards, Stefan ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune shows you how. http://goparallel.sourceforge.net _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users