Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fortigate software switch interfaces break interface-usage #295

Open
0xliam opened this issue Jan 13, 2022 · 0 comments
Open

Fortigate software switch interfaces break interface-usage #295

0xliam opened this issue Jan 13, 2022 · 0 comments

Comments

@0xliam
Copy link

0xliam commented Jan 13, 2022

Hi,

I have a FortiGate firewall with a Software Switch configured - it appears this is breaking interface-usage and other commands for retrieving interface checks:

I am able to query all other interfaces, e.g.:

[root@satellite plugins]# '/usr/lib64/nagios/plugins/check_nwc_health_new' '--community' 'xxxx' '--hostname' 'xxxx' '--mode' interface-usage --name 170
OK - interface  170 (alias wireless.) usage is in:0.00% (0.00bit/s) out:0.00% (0.00bit/s) | ' 170_usage_in'=0%;80;90;0;100 ' 170_usage_out'=0%;80;90;0;100 ' 170_traffic_in'=0;0;0;0;0 ' 170_traffic_out'=0;0;0;0;0

If I query interface 171 I receive:

[root@satellite plugins]# '/usr/lib64/nagios/plugins/check_nwc_health_new' '--community' 'xxxx' '--hostname' 'xxxx' '--mode' interface-usage --name 171
UNKNOWN - Mode interface-usage is not implemented for this type of device

I also receive the same error if no interface is specified.

If I run snmpwalk for the ifType it returns:

IF-MIB::ifType.171 = INTEGER: bridge(209)

I've attached the snmpwalk output as per troubleshooting steps.

Any suggestions how to mitigate this issue would be greatly appreciated.

snmpwalk_check_nwc_health_new_10.85.2.254.txt

EDIT:

Please ignore the plugin name - was testing with the latest version to see if that fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant