Cisco IP SLA monitoring plugin¶
Article last updated: 2026-12-02.
What it does¶
The Cisco IP SLA monitoring plugin reads one IP SLA metric from a Cisco router or switch over SNMP. IP SLA operations measure network performance between a Cisco device and a target: round-trip time, jitter, packet loss, MOS, ICPIF, HTTP response times and ICMP jitter.
Each execution reads one metric for one IP SLA tag and prints its value on standard output. The plugin is a server plugin: it runs on the Pandora FMS server, needs the Net-SNMP command-line tools and does not create an agent. You create one Pandora FMS module per metric and tag.
Prepare¶
Compatibility¶
| Scope | State | Evidence |
|---|---|---|
| Cisco IOS or IOS-XE devices with IP SLA operations configured | Required |
The plugin reads the Cisco IP SLA MIB (1.3.6.1.4.1.9.9.42) |
| SNMP v1, v2c or v3 | Supported |
The plugin accepts a community or SNMPv3 authentication and privacy options |
snmpwalk and snmpget from Net-SNMP |
Required |
The script checks for snmpwalk in PATH and calls both tools |
| Pandora FMS NG 784 and later | Not validated |
No release-specific validation record exists |
Requirements¶
- A Cisco device with IP SLA operations configured and SNMP read access to the IP SLA MIB.
- The Net-SNMP tools (
snmpwalk,snmpget) installed on the Pandora FMS server. - Network access from the Pandora FMS server to the device on UDP
161. - The IP SLA tag or index of the operation you want to read. The plugin can list the available tags with
-s.
Install the plugin¶
Copy pandora_ipsla.sh to the Pandora FMS server plugin directory and give it execute permission:
cp pandora_ipsla.sh /usr/share/pandora_server/util/plugin/
chmod +x /usr/share/pandora_server/util/plugin/pandora_ipsla.sh
Register it in the console from Plugins → Management → Create. Because the plugin takes a different set of options for each module, the simplest registration uses the fields that are common to every read (target, community, version, tag, module) and leaves the SNMPv3 options for the modules that need them.
Configure¶
The plugin is invoked with the connection options and the metric to read:
pandora_ipsla.sh -c <COMMUNITY> -t <TARGET> -v <VERSION> -g <TAG> -m <METRIC>
| Option | Required | Description |
|---|---|---|
-c <community> |
No | SNMP read community, default public. |
-t <target> |
Yes | IP address or host name of the Cisco device. |
-v <version> |
Yes | SNMP version: 1, 2c or 3. |
-g <tag> |
Yes | IP SLA tag or index of the operation. |
-m <metric> |
Yes | Metric to read. See Metrics. |
-s |
No | Lists the IP SLA tags available on the device and exits. |
-l <level> |
SNMPv3 | Security level: noAuthNoPriv, authNoPriv or authPriv. |
-u <user> |
SNMPv3 | SNMPv3 user name. |
-a <protocol> |
SNMPv3 | Authentication protocol. |
-A <password> |
SNMPv3 | Authentication password. |
-x <protocol> |
SNMPv3 | Privacy protocol. |
-X <password> |
SNMPv3 | Privacy password. |
List the available tags¶
Before creating a module, list the IP SLA tags on the device:
pandora_ipsla.sh -c <COMMUNITY> -t <TARGET> -v 2c -s
The command prints the tags found in 1.3.6.1.4.1.9.9.42.1.2.1.1.3. Use one of them as the -g value. The tag is the index that the plugin uses to build the OID of the metric.
Create the module¶
Create a generic_data module that uses the plugin with the target, the community, the version, the tag and the metric. Use one module per metric and tag. RttOperAddress returns text, so use generic_data_string for that metric.
Verify¶
Read a metric manually:
pandora_ipsla.sh -c public -t 192.0.2.10 -v 2c -g 1 -m MOS
The output is the value of the metric, for example:
4
For a metric that is not present on the device, the command prints an empty value. Check the tag and the IP SLA operation configuration on the device.
Understand the results¶
The plugin reads one OID and prints the last field of the SNMP response. It does not aggregate, compare or threshold the value: the module in Pandora FMS does that.
- Numeric metrics such as MOS, ICPIF, jitter, packet loss and RTT are
generic_data. RttOperAddressis text and needsgeneric_data_string.RttOperSenseis a numeric code. The script documents the code values at the end of the file; for example,1meansok,4meanstimeoutand8meanssequenceError.- Missing operation — if the tag does not exist, the OID has no value and the command prints nothing. The module receives no data.
Metrics¶
| Metric | What it reads |
|---|---|
ICPIF |
Calculated Planning Impairment Factor for the tag. |
MOS |
Mean Opinion Score. |
Packet_Out_of_Sequence |
Packets arriving out of sequence. |
Packet_Late_Arrival |
Packets arriving late. |
Average_Jitter |
Average jitter observed in the last RTP packets. |
PacketLossSD |
Packet loss from source to destination. |
PacketLossDS |
Packet loss from destination to source. |
PacketLost |
Packets lost when the direction cannot be determined. |
NegativesSD |
Negative jitter values from source to destination. |
NegativesDS |
Negative jitter values from destination to source. |
PositivesSD |
Positive jitter values from source to destination. |
PositivesDS |
Positive jitter values from destination to source. |
RTTMax |
Maximum round-trip time. |
RTTMin |
Minimum round-trip time. |
OperNumOfRTT |
Number of successful round trips. |
OperPacketLossSD |
Packet loss from source to destination for jitter tests. |
OperPacketLossDS |
Packet loss from destination to source for jitter tests. |
RttOperSense |
Sense code of the latest RTT operation. |
RttOperCompletionTime |
Completion time of the latest successful RTT operation. |
RttOperTime |
Time of the latest RTT operation. |
RttOperAddress |
Address of the latest RTT operation. |
HTTPOperRTT |
HTTP operation round-trip time. |
HTTPOperDNSRTT |
HTTP DNS round-trip time. |
HTTPOperTCPConnectRTT |
HTTP TCP connect round-trip time. |
IcmpJitterAvgJitter |
ICMP jitter average. |
HTTPOperTransactionRTT |
HTTP transaction round-trip time. |
Operate and troubleshoot¶
snmpwalk is not in the path— install the Net-SNMP tools on the Pandora FMS server.- No tags are listed — the device has no IP SLA operations, the community is wrong or the IP SLA MIB is not enabled.
- Empty value for a valid tag — the operation is not running or has not produced statistics yet. Check
show ip sla statisticson the device. - SNMPv3 authentication errors — check the user, the security level, the authentication and privacy protocols and their passwords. The script requires
-l,-u,-a,-A,-xand-XforauthPriv. - The module is always empty — confirm that the module uses the same tag and metric that work on the command line, and that the device is reachable from the Pandora FMS server.
Reference¶
Command-line options¶
| Option | Description |
|---|---|
-c <community> |
SNMP read community. |
-t <target> |
Device address or host name. |
-v <version> |
SNMP version (1, 2c, 3). |
-g <tag> |
IP SLA tag or index. |
-m <metric> |
Metric name. |
-s |
Lists the available tags. |
-l, -u, -a, -A, -x, -X |
SNMPv3 security level, user, authentication and privacy parameters. |
-h |
Prints the help text. |
Addon identity¶
| Field | Value |
|---|---|
| Marketplace identifier | pandorafms.ipsla |
| Marketplace name | Cisco IP SLA monitoring |
| Package | pandora_ipsla.zip |
| Type | Server plugin, SNMP |
| Executable | pandora_ipsla.sh |
| License | Free download |