-
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
-
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
-
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
-
This is a duplicate to bug #2813845.
2009-07-01 12:20:36 UTC in net-snmp
-
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
-
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
-
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
-
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