lausser / check_nwc_health

nwc = network component. This plugin checks lots of aspects of routers, switches, wlan controllers, firewalls,.....
http://labs.consol.de/nagios/check_nwc_health
GNU General Public License v2.0
146 stars 88 forks source link

interface-usage does not works on sub-interfaces of tengigabit interfaces (SFP) on Palo Alto (PA-1410) #319

Open gavellan opened 11 months ago

gavellan commented 11 months ago

Using the following command on Nagios for the sub-interfaces of a tengigabit (SFP) interface (name: ethernet1/19.204) on Palo Alto (PA-1410):

image

Here's the result:

"Interface-usage mode is not implemented for this device type".

Here's the format of the perf data in "/var/tmp/check_nwc_health/*IP-ADDR*_device::interfaces::usage_101190090#ethernet1_19.904c9184f37cff01bcdc32dc486ec36961"

$VAR1 = {
  'localtime' => 'Mon Jul 24 13:52:03 2023',
  'timestamp' => 1690199523,
  'ifHCOutBytes' => 816408,
  ifHCInOctets' => 17596358
} ;

And best of all

The mode interface-usage works on the ethernet1/19 interface and for the other sub-interfaces of the gigabit interfaces (RJ-45).

Don't hesitate to contact me if you need more details,

BR