Page 2 of 2

Re: Fexes status not showing

Posted: Sun Jul 18, 2021 11:14 pm
by informatica
hi team,

Please find the below update.

[nagios@emea-nagios-a root]$ /usr/local/nagios/libexec/check_nwc_health --hostname 10.33.50.55 --community XXXX --mode watch-fexes --lookback 60
OK - found 7 FEXes | 'num_fexes'=7;;;;


Still we are seeing the number of fexes but we are not able to see whether its online of offiline

Re: Fexes status not showing

Posted: Mon Jul 19, 2021 9:14 am
by gsmith
Hi

Unfortunately that's all I know about this plugin.

Please contact the author

here is the website of the author of the plugin:
https://labs.consol.de/nagios/check_nwc_health

Thanks

Re: Fexes status not showing

Posted: Wed Jul 21, 2021 7:29 am
by informatica
what is the use of below mode and how to use this. and what is --lookup here

watch-fexes (Check if FEXes appear and disappear (use --lookup))
watch-accesspoints (Check if access points appear and disappear (use --lookup))

[root@ittestnagiosxi libexec]# ./check_nwc_health --hostname 10.33.50.55 --community XXXXX --mode watch-fexes -v
OK - found 7 FEXes
counting fexes | 'num_fexes'=7;;;;

Re: Fexes status not showing

Posted: Wed Jul 21, 2021 9:19 am
by gsmith
hi

--lookback
The amount of time you want to look back when calculating average rates.
Use it for mode interface-errors or interface-usage. Without --lookback
the time between two runs of check_nwc_health is the base for calculations.
If you want your checkresult to be based for example on the past hour,
use --lookback 3600.

Re: Fexes status not showing

Posted: Thu Jul 22, 2021 12:06 am
by informatica
Hi,

if you can observe the watch-fexes usage its saying use --lookup can you please reply what is the usage of lookup only.

watch-fexes (Check if FEXes appear and disappear (use --lookup))

Re: Fexes status not showing

Posted: Thu Jul 22, 2021 9:05 am
by gsmith
Hi

use --lookup in the usage appears to be a mistake that's why
I suggested the --lookback

Again, we did not create this plugin, so you should see if
the author of the plugin can help you:

https://labs.consol.de/nagios/check_nwc_health

Thanks