In the short tutorial below, we will set up a SNMP monitor to watch the IP packets stats (delivered, discarded etc).
Click on the thumbnail pictures provided to view their full version.
Starting SNMP services on the host
|Detailed explanation how to set up, configure and start SNMP services on the host machine we are about to monitor network interface statistic on is outside the scope of this tutorial.
Note that not every device is capable of supporting IP stats parameters; make sure the device supports these statistical data first. Most network hardware, computers etc do. support those.
You should look for documentation on software packages such as net-snmp and/or firewall settings to have SNMP services be set up correctly and securely. Further on this tutorial we assume you have set up the SNMP services and the computer where IPHost Netwrk Monitor runs is allowed to connect to the device running those services.
Creating SNMP monitor
Setting up monitoring parameters
|Launch the MIB browser (see above how to do that) to proceed. If you haven’t loaded proper MIB file (IP-MIB should do), the browser will not show you much useful information. Download the mentioned MIB file, click on “MIBs” button (lower left corner of the MIB browser) and look whether the required MIB is loaded already.|
|If IF-MIB is present in the list, just skip this step. Otherwise, make sure the downloaded MIB file is placed into %ProrgamData%\IPHost Network Monitor\mibs and click “Import” button. Select the required MIB file and click “Open”.|
|Now refresh MIB browser main view by clicking “Refresh” button. To find OIDs related to measuring processor load, enter word “SystemStats” to the right of “Find” label. The browser will only display those entries with the mentioned word found in their literal names.
Note: there are many parameters you can monitor. In our case, we choose ipSystemStatsInAddrErrors entry (the counter if destination IP address found in packet were considered invalid for the respectful device — i.e. “martian” addresses).
You can browse other entries from the same branch, in case they suit your case better.
Select the mentioned entry and click “OK” to return to monitor Main parameters tab.
|Now let’s set up monitor so that it triggered an alarm wherever the watched martian packets counter goes too high.
Open monitor State conditions tab on Parameters/Results pane.
Warning state condition is used when the monitored parameter isn’t already acceptable, but the value isn’t that wrong to raise an alarm. Down state condition is used when it is time to raise a real alarm.
Please use your specific situation into account when setting the thresholds. In our sample, we use load value of 1000 to send a warning, and value above 30000 to make the monitor switch to Down state to indicate severe performance problem (too many wrong packets).
To learn further how to set up alerts, read Alerting and Actions section of our quick start guide.
What to do next?
IPHost Network Monitor 5.4 build 14538 of April 21, 2023. File size: 111MB