OpticalChannel no longer ignored
Hi!
Overnight during the svn up to 11597 we have gained a couple of hundred 'ports' which are on various SmartOptics chassis (DCP and M series) of type "Optical Channel"
There was already an exclusion for this type of interface (as the data polled is null anyway, even for 'Up' channels) but it now seems to be ignoring the exclusion and showing a couple of hundred extra (Down) ports now.
The current config.php exclusions I've tried are:
$config['bad_if_regexp'][] = "/opticalChannel/"; $config['bad_if'][] = "opticalChannel"; $config['bad_iftype'][] = "opticalChannel";
With no luck, although it is correctly importing them into the config, for example:
Any ideas please? Cheers!
Robert Williams Custodian Data Centres https://www.CustodianDC.com
Hi,
this seems as my mistake. But not sure why.
Make debug pls: ./discovery.php -d -m ports -h <device>
send me full output in mail or discord channel.
Robert Williams via observium wrote on 23.09.2021 10:43:
Hi! Overnight during the svn up to 11597 we have gained a couple of hundred ‘ports’ which are on various SmartOptics chassis (DCP and M series) of type “Optical Channel” There was already an exclusion for this type of interface (as the data polled is null anyway, even for ‘Up’ channels) but it now seems to be ignoring the exclusion and showing a couple of hundred extra (Down) ports now. The current config.php exclusions I’ve tried are: $config['bad_if_regexp'][] = "/opticalChannel/"; $config['bad_if'][] = "opticalChannel"; $config['bad_iftype'][] = "opticalChannel"; With no luck, although it is correctly importing them into the config, for example: Any ideas please? Cheers! Robert Williams Custodian Data Centres https://www.CustodianDC.com
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Should be fixed in r11600.
But in your config only single option correct: $config['bad_iftype'][] = "opticalChannel";
Robert Williams via observium wrote on 23.09.2021 10:43:
Hi! Overnight during the svn up to 11597 we have gained a couple of hundred ‘ports’ which are on various SmartOptics chassis (DCP and M series) of type “Optical Channel” There was already an exclusion for this type of interface (as the data polled is null anyway, even for ‘Up’ channels) but it now seems to be ignoring the exclusion and showing a couple of hundred extra (Down) ports now. The current config.php exclusions I’ve tried are: $config['bad_if_regexp'][] = "/opticalChannel/"; $config['bad_if'][] = "opticalChannel"; $config['bad_iftype'][] = "opticalChannel"; With no luck, although it is correctly importing them into the config, for example: Any ideas please? Cheers! Robert Williams Custodian Data Centres https://www.CustodianDC.com
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
That’s done it thanks very much! I’ve removed the other entries, they were out of pure desperation 😉
Cheers!
From: Mike Stupalov mike@stupalov.ru On Behalf Of Mike Stupalov Sent: 23 September 2021 09:25 To: Observium observium@observium.org; Robert Williams via observium observium@observium.org Cc: Robert Williams Robert@CustodianDC.com Subject: Re: [Observium] OpticalChannel no longer ignored
Should be fixed in r11600.
But in your config only single option correct: $config['bad_iftype'][] = "opticalChannel";
Robert Williams via observium wrote on 23.09.2021 10:43:
Hi!
Overnight during the svn up to 11597 we have gained a couple of hundred ‘ports’ which are on various SmartOptics chassis (DCP and M series) of type “Optical Channel”
There was already an exclusion for this type of interface (as the data polled is null anyway, even for ‘Up’ channels) but it now seems to be ignoring the exclusion and showing a couple of hundred extra (Down) ports now.
The current config.php exclusions I’ve tried are:
$config['bad_if_regexp'][] = "/opticalChannel/"; $config['bad_if'][] = "opticalChannel"; $config['bad_iftype'][] = "opticalChannel";
With no luck, although it is correctly importing them into the config, for example:
Any ideas please? Cheers!
Robert Williams Custodian Data Centres https://www.CustodianDC.com
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov Observium Limited, http://observium.org
Robert Williams Custodian Data Centres https://www.CustodianDC.com
participants (2)
-
Mike Stupalov
-
Robert Williams