Cf. tasks like T201095.
It's exposed via SNMP.
https://apps.juniper.net/mib-explorer/search.jsp#object=jnxVirtualChassisPortTable&product=Junos%20OS&release=14.1x53-D30
Should be added to LibreNMS or Icinga.
Cf. tasks like T201095.
It's exposed via SNMP.
https://apps.juniper.net/mib-explorer/search.jsp#object=jnxVirtualChassisPortTable&product=Junos%20OS&release=14.1x53-D30
Should be added to LibreNMS or Icinga.
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
operations/puppet | production | +15 -3 | Icinga, assign check_vcp to all VC switches | |
operations/puppet | production | +77 -0 | Icinga: add check_vcp (part 1) |
Putting the script here the time I send a Gerrit CR.
It uses snimpy and the required MIBs can be obtained on https://apps.juniper.net/mib-explorer/index.jsp
mib-jnx-smi.txt
mib-jnx-chassis.txt
mib-jnx-ex-smi.txt
mib-jnx-virtualchassis.txt
$ python3 check_vcp.py --host asw2-a-eqiad.mgmt.eqiad.wmnet --community <secret> OK: UP: 20
I then delete one side of a VC-link:
asw2-a-eqiad> request virtual-chassis vc-port delete pic-slot 0 port 48 member 2
$ python3 check_vcp.py --host asw2-a-eqiad.mgmt.eqiad.wmnet --community <secret> CRIT: Down: 1 Unknown: 0 FPC N/A port N/A down
A couple limitations on the data exposed via SNMP:
Change 458850 had a related patch set uploaded (by Ayounsi; owner: Ayounsi):
[operations/puppet@production] Icinga: add check_vcp (part 1)
Change 458850 merged by Ayounsi:
[operations/puppet@production] Icinga: add check_vcp (part 1)
Change 476604 had a related patch set uploaded (by Ayounsi; owner: Ayounsi):
[operations/puppet@production] Icinga, assign check_vcp to all VC switches
Change 476604 merged by Ayounsi:
[operations/puppet@production] Icinga, assign check_vcp to all VC switches
Mentioned in SAL (#wikimedia-operations) [2018-11-29T20:01:22Z] <XioNoX> Apply Icinga:check_vcp to all VC switches - T201097