I locked myself in my office last night... and eventually got a lab box working correctly. SNMPStats load, sends traps, and generally acts happy. With CentOS, I found there were lots of package dependencies, and I just had to get them all installed correctly.
So now that I've played with it for a while, it seems to me that SNMPStats is really designed to be a trap generator for something like OpenNMS or HP Openview. And I think it works great for those situations where you want to generate an alarm upon reaching a particular threshold.
What I can't get it to do is respond to an SNMP query from my Cacti or MRTG servers... instead of SNMPStats alerting me when it reaches a threshold, I want to query it regularly and graph the answers, so I know when it is approaching the thresholds.
Should SNMPStats enable me to do that?
If not, how do others gather that type of information (how many current dialogs, etc?) I am running the Dialog and Statistics modules, and querying the dialog table every five minutes to get the number of current dialogs for a particular IP address right now.... but there has to be a better (ie, more automated) way that I am missing, right?
Michael Young
-----Original Message----- From: Henning Westerholt [mailto:henning.westerholt@1und1.de] Sent: Wednesday, March 19, 2008 12:44 PM To: Michael Young Cc: users@lists.openser.org Subject: Re: [OpenSER-Users] SNMPStats
On Wed, March 19, 2008 6:17 pm, Michael Young wrote:
No, I get nothing in the error logs. I did have errors loading the module until I got the LD_LIBRARY_PATH correct. Now the module loads, but when running snmpd and starting up OpenSER, I don't get any logging about SNMPstats registering with the master agent (going off of http://www.openser.org/docs/modules/1.3.x/snmpstats.html, section 1.6.4). No errors, no success, nothing.
Hi Michael,
you could increase the debug level to get more information about the activity of the module.
I suspect the module was built with an older version of OpenSER, and some change has broken the module, and no one has noticed. That is why I was curious if anyone is using it... if anyone is using it successfully, then the problem must be on my end.
Are you using "fork=no" in the config file? I found something related to this in the commit in rev 2625 that probably could cause problems. Perhaps this change breaks also some other functionality in the module..
Cheers,
Henning
No virus found in this incoming message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.21.7/1335 - Release Date: 3/19/2008 9:54 AM
No virus found in this outgoing message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.21.7/1335 - Release Date: 3/19/2008 9:54 AM