Commit Graph

31 Commits

Author SHA1 Message Date
Travis Cross b263201a2e Avoid polluting CFLAGS for mod_snmp
Putting `net-snmp-config --cflags` into CFLAGS causes major pollution;
it overrides optimization and debugging levels, warnings, and more.
While normally we do want to automatically locate library headers,
there has to be a better way to do this.  libsnmp is normally in the
usual place and doesn't need special handling.  Perhaps people with
libsnmp in a weird place should just need to add the -I flag to their
CFLAGS before build.
2014-05-13 17:40:43 +00:00
Travis Cross 94ec447e0d Cleanup makefile library dependencies of mod_snmp
Calling out to net-snmp-config --agent-libs causes transitive
dependencies to get pulled in, but we don't need those -- a sensible
dynamic linker pulls those in automatically.  Trying to track the
transitive dependencies manually would be a losing battle.

People were recently hitting this on Debian sid/jessie, where libpci
is in the transitive dependency list but isn't otherwise one of our
build dependencies.
2014-05-13 17:27:46 +00:00
Michael Jerris bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Ken Rice 9480f41728 new for new switch_version_full() 2014-01-17 09:14:54 -06:00
Anthony Minessale 8dfbd91a3d fold version macros into runtime functions to avoid cascade rebuilds when modifying the core 2014-01-17 01:54:47 +05:00
Ken Rice 7fb4369932 peak sessions step 1 2013-07-20 20:11:46 -05:00
Ken Rice 5660f90509 add peak SPS for last 5 minutes 2013-07-19 22:40:59 -05:00
Ken Rice 241e9f45ed Add to the MIB and small tweak to subagent.c 2013-07-19 17:06:17 -05:00
Anthony Minessale c510f3f52e add peak sps to stats and a command to reset it 2013-07-19 15:16:42 -05:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Daniel Swarbrick c60b4b31c1 updating my email address 2012-10-14 14:00:11 +02:00
Ken Rice 7a147e4762 Update a ton of copyright statements to make sure the dates are proper 2012-04-25 17:14:55 -05:00
Ken Rice c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Anthony Minessale 00b53a91ea FS-3277 --resolve There are actually really only 2 places where it needs the real hostname, the hostname command and the header on the events. I changed everything to the switchname because there were some more sql stmts etc in the core. 2011-04-29 10:24:50 -05:00
Daniel Swarbrick 0632d22cc8 SNMP MIBs have their own comment style 2011-04-05 23:02:50 +02:00
Michal Bielicki - cypromis 9b099f474b Added copyright headers for sponsored work 2011-04-05 13:05:22 +02:00
Daniel Swarbrick 9c4c1e813e FS-3120 - fix segv when snmpwalking ringing channels, fix segv in snmp getBulkRequest 2011-03-04 00:17:07 +01:00
Daniel Swarbrick eb526c573f foo does not live here anymore 2011-03-03 23:42:22 +01:00
Anthony Minessale b6b4e6b549 FS-3114 2011-03-03 14:36:29 -06:00
Daniel Swarbrick 64806d2d47 typo 2011-03-02 18:23:19 +01:00
Daniel Swarbrick c8f5c66c35 mostly complete implementation of channel list via SNMP 2011-01-31 15:41:58 +01:00
Daniel Swarbrick 068d36a5c9 partial implementation of channel list via snmp 2011-01-28 22:32:26 +01:00
Daniel Swarbrick b3ac44f555 add support for getting current call count 2011-01-28 20:36:18 +01:00
Daniel Swarbrick 08f494b808 typo 2011-01-28 20:14:10 +01:00
Daniel Swarbrick 608be370bc reduce agentx heartbeat to 2s, add management hook for mutex lock/unlock 2011-01-27 21:33:17 +01:00
Daniel Swarbrick 83d5cd6ff6 whoops, tab craziness 2011-01-25 20:04:29 +01:00
Daniel Swarbrick 4b731fd64c tidy up subagent and #defines 2011-01-25 20:00:32 +01:00
Daniel Swarbrick 636c1ecb4e wrap potentially non-threadsafe snmp operations in mutex; support snmpwalk in subagent 2011-01-25 19:19:31 +01:00
Daniel Swarbrick 6477d3f87e make mod_snmp module unload more failsafe 2011-01-25 00:27:18 +01:00
Daniel Swarbrick 6e2b1bd328 initial checkin of mod_snmp 2011-01-21 21:05:01 +01:00