Peter Klausner – pklausner

Show:

What's happening?

  • Anybody ever used it with embedded perl?

    I noticed that snmptthandler is quite heavy and snmptt --daemon takes noticeable time to pick up traps, which then get the wrong timestamp. The FAQ says: "Net-SNMP allows Perl to be embedded into the SNMP agent by specifying --enable-embedded-perl during compilation. This is not currently required by SNMPTT." This would nicely address the problem -- but has anybody ever tried that successfully?.

    12:44PM UTC on Jul 01 2009 in SNMP Trap Translator

  • Comment: snmptrapd doesnt check for reading a config multiple times

    I second that - this behaviour is very confusing. I just had filed duplicate bug #2815130 because I saw the snmptt traps twice.

    12:23PM UTC on Jul 01 2009 in net-snmp

  • Comment: 5.4.2 snmptrapd runs default traphandle twice

    This is a duplicate to bug #2813845.

    12:20PM UTC on Jul 01 2009 in net-snmp

  • Comment: snmptrapd runs default traphandle twice

    I have found a problem: the commandline above comes from a verbose init script, which explicitely speficies the config file with -c. If you do not specify it, it will read the compile default /etc/snmp/snmptrapd.conf and run the traphandle only once. Is it thinkable, that it reads the config file twice and registers the handle twice? Is that actually a feature which would allow me to...

    12:16PM UTC on Jul 01 2009 in net-snmp

  • snmptrapd runs default traphandle twice

    I have net-snmp 5.4.2 from stock opensuse11.1. For every trap received I do get one syslog message, but the traphandle gets called twice. I boiled down the configuration to the bare minimum: $ ps -ef|grep trapd root 9208 1 0 10:35 ? 00:00:00 /usr/sbin/snmptrapd -On -c /etc/snmp/snmptrapd.conf -Ls 4 -p /var/run/snmptrapd.pid $ grep -v '^#' /etc/snmp/snmptrapd.conf...

    11:17AM UTC on Jul 01 2009 in net-snmp

  • Followup: RE: Routers and Switches list via text file

    And while you are tinkering with such import function, you might want a script to see the result w/o firing up switchmap proper. TestConfig.pl: #!/usr/bin/perl -w # # could also have plausibility checks etc... use ThisSite; printf "ROUTERS:\n\t%s\n", join "\n\t", @routers; printf "SWITCHES:\n\t%s\n", join "\n\t", @LocalSwitches;.

    04:35PM UTC on Jun 26 2009 in switchmap

  • Followup: RE: Routers and Switches list via text file

    I'm not convinced, that we need yet another UI just for switchmap. One of the really nice features of switchmap is the configuration file, which actuallly is a configuration _script_. With that, you can nicely import data from other applications, which you have to maintain anyway. E.g., I find it a good practice to document your boxes in a wiki. If the pages are properly tagged, you can...

    04:06PM UTC on Jun 26 2009 in switchmap

  • Followup: RE: A few thoughts / discovery

    I also gave up on OV discovery. What I found useful, is to add keywords like MacList and SwitchMap to Rancid's router.db comment section, because I do need to edit that anyway. Thus a Rancid entry like: switch4711:cisco:up:SwitchMap will be picked by from ThisSite.pm like so: @LocalSwitches = ( # add manually... ); # add boxes from Rancid... open RANCID, 'awk -F...

    04:28PM UTC on Mar 03 2009 in switchmap

  • Followup: RE: A few thoughts / sysName

    Instead of having $yetAnotherConfigOption, how about this: show the FQDN as default, resort to the sysName if name resolution fails. Also do show the sysName, if it is not consistent with DNS. Basically: $name = $FQDN; $name .= " $sysName" unless $FQDN =~ /$sysName/i;.

    04:14PM UTC on Mar 03 2009 in switchmap

  • TWiki Plugins

    pklausner committed patchset 164 of module twikiplugins to the TWiki Plugins CVS repository, changing 2 files.

    07:13AM UTC on Jun 05 2003 in TWiki Plugins

About Me

  • 02/13/2003 (6 years ago)
  • 711565
  • pklausner (My Site)
  • Peter Klausner

Send me a message

My Projects