We have a PTX1k in our lab, which we got without a license. Annoyingly,
Junos EVO seems to update timestamps hourly on the `show alarms` output,
meaning there's always a diff.
Example diff in RANCID:
- # 2024-01-19 06:11:54 CST Minor 20 Port Bandwidth Usage (in
gbps)s(279) require a license
- # 2024-01-19 06:11:54 CST Minor BGP Routing Protocol(47) usage
requires a license
- # 2024-01-19 06:11:54 CST Minor LDP Protocol(257) usage requires a license
- # 2024-01-19 06:11:54 CST Minor RSVP Protocol(258) usage requires a license
- # 2024-01-19 06:11:54 CST Minor IGMP protocol(263) usage requires a license
- # 2024-01-19 06:11:54 CST Minor PIM protocol(267) usage requires a license
- # 2024-01-19 06:11:54 CST Minor OSPF protocol(282) usage requires a license
+ # 2024-01-19 07:11:54 CST Minor 20 Port Bandwidth Usage (in
gbps)s(279) require a license
+ # 2024-01-19 07:11:54 CST Minor BGP Routing Protocol(47) usage
requires a license
+ # 2024-01-19 07:11:54 CST Minor LDP Protocol(257) usage requires a license
+ # 2024-01-19 07:11:54 CST Minor RSVP Protocol(258) usage requires a license
+ # 2024-01-19 07:11:54 CST Minor IGMP protocol(263) usage requires a license
+ # 2024-01-19 07:11:54 CST Minor PIM protocol(267) usage requires a license
+ # 2024-01-19 07:11:54 CST Minor OSPF protocol(282) usage requires a license
For now we just filtered these fully in junos.pm ShowChassisAlarms:
next if (/require a license|requires a license/i);
If someone can whip up a REAL patch to just filter out the timestamp part
leaving the alarm value, that'd be a better fix for all.
Cheers
Chris
Junos EVO seems to update timestamps hourly on the `show alarms` output,
meaning there's always a diff.
Example diff in RANCID:
- # 2024-01-19 06:11:54 CST Minor 20 Port Bandwidth Usage (in
gbps)s(279) require a license
- # 2024-01-19 06:11:54 CST Minor BGP Routing Protocol(47) usage
requires a license
- # 2024-01-19 06:11:54 CST Minor LDP Protocol(257) usage requires a license
- # 2024-01-19 06:11:54 CST Minor RSVP Protocol(258) usage requires a license
- # 2024-01-19 06:11:54 CST Minor IGMP protocol(263) usage requires a license
- # 2024-01-19 06:11:54 CST Minor PIM protocol(267) usage requires a license
- # 2024-01-19 06:11:54 CST Minor OSPF protocol(282) usage requires a license
+ # 2024-01-19 07:11:54 CST Minor 20 Port Bandwidth Usage (in
gbps)s(279) require a license
+ # 2024-01-19 07:11:54 CST Minor BGP Routing Protocol(47) usage
requires a license
+ # 2024-01-19 07:11:54 CST Minor LDP Protocol(257) usage requires a license
+ # 2024-01-19 07:11:54 CST Minor RSVP Protocol(258) usage requires a license
+ # 2024-01-19 07:11:54 CST Minor IGMP protocol(263) usage requires a license
+ # 2024-01-19 07:11:54 CST Minor PIM protocol(267) usage requires a license
+ # 2024-01-19 07:11:54 CST Minor OSPF protocol(282) usage requires a license
For now we just filtered these fully in junos.pm ShowChassisAlarms:
next if (/require a license|requires a license/i);
If someone can whip up a REAL patch to just filter out the timestamp part
leaving the alarm value, that'd be a better fix for all.
Cheers
Chris