|
@@ -8,7 +8,7 @@ Edited by
|
|
|
|
|
|
Jeffrey Magder
|
|
|
|
|
|
- Copyright © 2006 SOMA Networks, Inc.
|
|
|
+ Copyright © 2006 SOMA Networks, Inc.
|
|
|
__________________________________________________________________
|
|
|
|
|
|
Table of Contents
|
|
@@ -40,6 +40,7 @@ Jeffrey Magder
|
|
|
4.5. dlg_major_threshold (Integer)
|
|
|
4.6. snmpgetPath (String)
|
|
|
4.7. snmpCommunity (String)
|
|
|
+ 4.8. export_registrar (int)
|
|
|
|
|
|
5. Functions
|
|
|
6. Installation and Running
|
|
@@ -64,6 +65,7 @@ Jeffrey Magder
|
|
|
1.5. Setting the dlg_major_threshold parameter
|
|
|
1.6. Setting the snmpgetPath parameter
|
|
|
1.7. Setting the snmpCommunity parameter
|
|
|
+ 1.8. Setting the export_registrar parameter
|
|
|
|
|
|
Chapter 1. Admin Guide
|
|
|
|
|
@@ -94,6 +96,7 @@ Chapter 1. Admin Guide
|
|
|
4.5. dlg_major_threshold (Integer)
|
|
|
4.6. snmpgetPath (String)
|
|
|
4.7. snmpCommunity (String)
|
|
|
+ 4.8. export_registrar (int)
|
|
|
|
|
|
5. Functions
|
|
|
6. Installation and Running
|
|
@@ -275,6 +278,7 @@ Chapter 1. Admin Guide
|
|
|
4.5. dlg_major_threshold (Integer)
|
|
|
4.6. snmpgetPath (String)
|
|
|
4.7. snmpCommunity (String)
|
|
|
+ 4.8. export_registrar (int)
|
|
|
|
|
|
4.1. sipEntityType (String)
|
|
|
|
|
@@ -367,7 +371,7 @@ modparam("snmpstats", "MsgQueueMajorThreshold", 5000)
|
|
|
the master agent. You can use this parameter to set the path to your
|
|
|
instance of NetSNMP's snmpget program.
|
|
|
|
|
|
- Default value is “/usr/local/bin/�.
|
|
|
+ Default value is "/usr/local/bin/".
|
|
|
|
|
|
Example 1.6. Setting the snmpgetPath parameter
|
|
|
...
|
|
@@ -381,13 +385,26 @@ modparam("snmpstats", "snmpgetPath", "/my/custom/path/")
|
|
|
the master agent. If you have defined a custom community string for the
|
|
|
snmp daemon, you need to specify it with this parameter.
|
|
|
|
|
|
- Default value is “public�.
|
|
|
+ Default value is "public".
|
|
|
|
|
|
Example 1.7. Setting the snmpCommunity parameter
|
|
|
...
|
|
|
modparam("snmpstats", "snmpCommunity", "customCommunityString")
|
|
|
...
|
|
|
|
|
|
+4.8. export_registrar (int)
|
|
|
+
|
|
|
+ The SNMPStats module will export registrar (usrloc) records if this
|
|
|
+ parameter is set to 1. This will result in more memory usage and bigger
|
|
|
+ exporter structure.
|
|
|
+
|
|
|
+ Default value is "0" (don't export).
|
|
|
+
|
|
|
+ Example 1.8. Setting the export_registrar parameter
|
|
|
+...
|
|
|
+modparam("snmpstats", "export_registrar", 1)
|
|
|
+...
|
|
|
+
|
|
|
5. Functions
|
|
|
|
|
|
Currently, there are no exported functions.
|
|
@@ -406,7 +423,7 @@ modparam("snmpstats", "snmpCommunity", "customCommunityString")
|
|
|
There are several things that need to be done to get the SNMPStats
|
|
|
module compiled and up and running.
|
|
|
|
|
|
-6.1. Compiling the SNMPStats Module
|
|
|
+6.1. Compiling the SNMPStats Module
|
|
|
|
|
|
In order for the SNMPStats module to compile, you will need at least
|
|
|
version 5.3 of the NetSNMP source code. The source can be found at:
|
|
@@ -428,7 +445,7 @@ modparam("snmpstats", "snmpCommunity", "customCommunityString")
|
|
|
recommended you install NetSNMP from source to avoid bringing in
|
|
|
excessive dependencies to the SNMPStats module.
|
|
|
|
|
|
-6.2. Configuring NetSNMP to allow connections from the SNMPStats module.
|
|
|
+6.2. Configuring NetSNMP to allow connections from the SNMPStats module.
|
|
|
|
|
|
The SNMPStats module will communicate with the NetSNMP Master Agent.
|
|
|
This communication happens over a protocol known as AgentX. This means
|
|
@@ -460,7 +477,7 @@ modparam("snmpstats", "snmpCommunity", "customCommunityString")
|
|
|
This tells NetSNMP to act as a master agent, listening on the localhost
|
|
|
UDP interface at port 705.
|
|
|
|
|
|
-6.3. Configuring the SNMPStats module for communication with a Master Agent
|
|
|
+6.3. Configuring the SNMPStats module for communication with a Master Agent
|
|
|
|
|
|
The previous section explained how to set up a NetSNMP master agent to
|
|
|
accept AgentX connections. We now need to tell the SNMPStats module how
|
|
@@ -480,7 +497,7 @@ modparam("snmpstats", "snmpCommunity", "customCommunityString")
|
|
|
be present on the same machine as OpenSER. localhost could be replaced
|
|
|
with any other machine.
|
|
|
|
|
|
-6.4. Testing for a proper Configuration
|
|
|
+6.4. Testing for a proper Configuration
|
|
|
|
|
|
As a quick test to make sure that the SNMPStats module sub-agent can
|
|
|
succesfully connect to the NetSNMP Master agent, start snmpd with the
|