Peter Klausner

Show:

What's happening?

  • Followup: RE: SwitchMap performance (DNS caching patch)

    What I don't get: shouldn't the OS already do the DNS caching? E.g. in Linux, you could tweak /etc/nscd.conf for these needs.

    2009-07-07 12:59:38 UTC in switchmap

  • 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?.

    2009-07-01 12:44:25 UTC 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.

    2009-07-01 12:23:52 UTC in net-snmp

  • Comment: 5.4.2 snmptrapd runs default traphandle twice

    This is a duplicate to bug #2813845.

    2009-07-01 12:20:36 UTC 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...

    2009-07-01 12:16:21 UTC 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...

    2009-07-01 11:17:23 UTC 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;.

    2009-06-26 16:35:47 UTC 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...

    2009-06-26 16:06:05 UTC 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...

    2009-03-03 16:28:52 UTC 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;.

    2009-03-03 16:14:36 UTC in switchmap

About Me

  • 2003-02-13 (7 years ago)
  • 711565
  • pklausner (My Site)
  • Peter Klausner

Send me a message