Hello list,
I have just added a bunch of our end user access switches to Observium (thanks to the devs adding Nortel support!). Anyway, I don't want to be alerted or notified if those particular ports go up or down. The only way I know how to stop alerting on ports is to toggle the alerts field in the ports properties of the specific device.
However, whenever I select all the ports on a device that has a large number of ports (over 300) all the ports show that they are toggled to off, then I click save. When the page refreshes I only see about two-thirds of them are toggled off, the rest of them are still set to poll or alert. When I manually toggle some ports and click save, the setting doesn't save.
Any help or insight on this would be appreciated.
AJ Schroeder
Hi AJ,
It might be easier to exclude these in the alert association if you can work out a set of rules for that.
The page not saving is due to a PHP limitation. You need to change "max_input_vars" in your php.ini (/etc/php5/apache/php.ini, perhaps)
adam. On 17/09/2015 17:03:30, AJ Schroeder aj.schroeder@directsupply.com wrote: Hello list, I have just added a bunch of our end user access switches to Observium (thanks to the devs adding Nortel support!). Anyway, I don’t want to be alerted or notified if those particular ports go up or down. The only way I know how to stop alerting on ports is to toggle the alerts field in the ports properties of the specific device. However, whenever I select all the ports on a device that has a large number of ports (over 300) all the ports show that they are toggled to off, then I click save. When the page refreshes I only see about two-thirds of them are toggled off, the rest of them are still set to poll or alert. When I manually toggle some ports and click save, the setting doesn’t save. Any help or insight on this would be appreciated. AJ Schroeder
Adam, I’ve run across this issue in the past, but it’s been a while. I’ve wanted to redesign the Ports page to use a little javascript (helperhttps://github.com/macek/jquery-serialize-object) to send a single JSON stanza on POST instead of 100s of individual variables. Haven’t thought it all the way through, but maybe you want to tackle it.
Another idea I haven’t had time to implement is Shift+Click to toggle a contiguous group of inputs. So, say you want to disable alerts on ifIndex 10 through 50. Click the ifIndex 10 toggle switch, then Shift+Click the ifIndex 50 toggle. This feature could be a big time saver for some people. -- Cameron Moore
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, September 17, 2015 11:06 AM To: observium@observium.org Subject: Re: [Observium] Disabling polling on large number of ports
Hi AJ,
It might be easier to exclude these in the alert association if you can work out a set of rules for that.
The page not saving is due to a PHP limitation. You need to change "max_input_vars" in your php.ini (/etc/php5/apache/php.ini, perhaps)
adam.
On 17/09/2015 17:03:30, AJ Schroeder <aj.schroeder@directsupply.commailto:aj.schroeder@directsupply.com> wrote: Hello list,
I have just added a bunch of our end user access switches to Observium (thanks to the devs adding Nortel support!). Anyway, I don’t want to be alerted or notified if those particular ports go up or down. The only way I know how to stop alerting on ports is to toggle the alerts field in the ports properties of the specific device.
However, whenever I select all the ports on a device that has a large number of ports (over 300) all the ports show that they are toggled to off, then I click save. When the page refreshes I only see about two-thirds of them are toggled off, the rest of them are still set to poll or alert. When I manually toggle some ports and click save, the setting doesn’t save.
Any help or insight on this would be appreciated.
AJ Schroeder
Ideally the settings should be saved AJAX individually, but JS/AJAX isn't my strong point (tbh, neither is PHP, but I have no choice there!)
adam. On 17/09/2015 18:51:00, Moore, Cameron cmoore@hsutx.edu wrote: Adam, I’ve run across this issue in the past, but it’s been a while. I’ve wanted to redesign the Ports page to use a little javascript (helper [https://github.com/macek/jquery-serialize-object]) to send a single JSON stanza on POST instead of 100s of individual variables. Haven’t thought it all the way through, but maybe you want to tackle it. Another idea I haven’t had time to implement is Shift+Click to toggle a contiguous group of inputs. So, say you want to disable alerts on ifIndex 10 through 50. Click the ifIndex 10 toggle switch, then Shift+Click the ifIndex 50 toggle. This feature could be a big time saver for some people. -- Cameron Moore From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, September 17, 2015 11:06 AM To: observium@observium.org Subject: Re: [Observium] Disabling polling on large number of ports Hi AJ, It might be easier to exclude these in the alert association if you can work out a set of rules for that. The page not saving is due to a PHP limitation. You need to change "max_input_vars" in your php.ini (/etc/php5/apache/php.ini, perhaps) adam. On 17/09/2015 17:03:30, AJ Schroeder <aj.schroeder@directsupply.com [mailto:aj.schroeder@directsupply.com]> wrote: Hello list, I have just added a bunch of our end user access switches to Observium (thanks to the devs adding Nortel support!). Anyway, I don’t want to be alerted or notified if those particular ports go up or down. The only way I know how to stop alerting on ports is to toggle the alerts field in the ports properties of the specific device. However, whenever I select all the ports on a device that has a large number of ports (over 300) all the ports show that they are toggled to off, then I click save. When the page refreshes I only see about two-thirds of them are toggled off, the rest of them are still set to poll or alert. When I manually toggle some ports and click save, the setting doesn’t save. Any help or insight on this would be appreciated. AJ Schroeder
“tbh, neither is PHP, but I have no choice there!”
Okay, this comment deserves some explanation. I thought you started this project. -- Cameron Moore
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, September 17, 2015 1:08 PM To: observium@observium.org Subject: Re: [Observium] Disabling polling on large number of ports
Ideally the settings should be saved AJAX individually, but JS/AJAX isn't my strong point (tbh, neither is PHP, but I have no choice there!)
adam.
On 17/09/2015 18:51:00, Moore, Cameron <cmoore@hsutx.edumailto:cmoore@hsutx.edu> wrote: Adam, I’ve run across this issue in the past, but it’s been a while. I’ve wanted to redesign the Ports page to use a little javascript (helperhttps://github.com/macek/jquery-serialize-object) to send a single JSON stanza on POST instead of 100s of individual variables. Haven’t thought it all the way through, but maybe you want to tackle it.
Another idea I haven’t had time to implement is Shift+Click to toggle a contiguous group of inputs. So, say you want to disable alerts on ifIndex 10 through 50. Click the ifIndex 10 toggle switch, then Shift+Click the ifIndex 50 toggle. This feature could be a big time saver for some people. -- Cameron Moore
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, September 17, 2015 11:06 AM To: observium@observium.orgmailto:observium@observium.org Subject: Re: [Observium] Disabling polling on large number of ports
Hi AJ,
It might be easier to exclude these in the alert association if you can work out a set of rules for that.
The page not saving is due to a PHP limitation. You need to change "max_input_vars" in your php.ini (/etc/php5/apache/php.ini, perhaps)
adam.
On 17/09/2015 17:03:30, AJ Schroeder <aj.schroeder@directsupply.commailto:aj.schroeder@directsupply.com> wrote: Hello list,
I have just added a bunch of our end user access switches to Observium (thanks to the devs adding Nortel support!). Anyway, I don’t want to be alerted or notified if those particular ports go up or down. The only way I know how to stop alerting on ports is to toggle the alerts field in the ports properties of the specific device.
However, whenever I select all the ports on a device that has a large number of ports (over 300) all the ports show that they are toggled to off, then I click save. When the page refreshes I only see about two-thirds of them are toggled off, the rest of them are still set to poll or alert. When I manually toggle some ports and click save, the setting doesn’t save.
Any help or insight on this would be appreciated.
AJ Schroeder
God damn it Cameron, I'm a network engineer not a PHP developer!
D:D
On 18/09/2015 15:00:56, Moore, Cameron cmoore@hsutx.edu wrote: “tbh, neither is PHP, but I have no choice there!” Okay, this comment deserves some explanation. I thought you started this project. -- Cameron Moore From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, September 17, 2015 1:08 PM To: observium@observium.org Subject: Re: [Observium] Disabling polling on large number of ports Ideally the settings should be saved AJAX individually, but JS/AJAX isn't my strong point (tbh, neither is PHP, but I have no choice there!) adam. On 17/09/2015 18:51:00, Moore, Cameron <cmoore@hsutx.edu [mailto:cmoore@hsutx.edu]> wrote: Adam, I’ve run across this issue in the past, but it’s been a while. I’ve wanted to redesign the Ports page to use a little javascript (helper [https://github.com/macek/jquery-serialize-object]) to send a single JSON stanza on POST instead of 100s of individual variables. Haven’t thought it all the way through, but maybe you want to tackle it. Another idea I haven’t had time to implement is Shift+Click to toggle a contiguous group of inputs. So, say you want to disable alerts on ifIndex 10 through 50. Click the ifIndex 10 toggle switch, then Shift+Click the ifIndex 50 toggle. This feature could be a big time saver for some people. -- Cameron Moore From: observium [mailto:observium-bounces@observium.org [mailto:observium-bounces@observium.org]] On Behalf Of Adam Armstrong Sent: Thursday, September 17, 2015 11:06 AM To: observium@observium.org [mailto:observium@observium.org] Subject: Re: [Observium] Disabling polling on large number of ports Hi AJ, It might be easier to exclude these in the alert association if you can work out a set of rules for that. The page not saving is due to a PHP limitation. You need to change "max_input_vars" in your php.ini (/etc/php5/apache/php.ini, perhaps) adam. On 17/09/2015 17:03:30, AJ Schroeder <aj.schroeder@directsupply.com [mailto:aj.schroeder@directsupply.com]> wrote: Hello list, I have just added a bunch of our end user access switches to Observium (thanks to the devs adding Nortel support!). Anyway, I don’t want to be alerted or notified if those particular ports go up or down. The only way I know how to stop alerting on ports is to toggle the alerts field in the ports properties of the specific device. However, whenever I select all the ports on a device that has a large number of ports (over 300) all the ports show that they are toggled to off, then I click save. When the page refreshes I only see about two-thirds of them are toggled off, the rest of them are still set to poll or alert. When I manually toggle some ports and click save, the setting doesn’t save. Any help or insight on this would be appreciated. AJ Schroeder
Project was started by this guy:
He liked shouting, so does Adam, and off we went...
On 2015-09-18 16:00, Moore, Cameron wrote:
“tbh, neither is PHP, but I have no choice there!”
Okay, this comment deserves some explanation. I thought you started this project.
--
Cameron Moore
*From:*observium [mailto:observium-bounces@observium.org] *On Behalf Of *Adam Armstrong *Sent:* Thursday, September 17, 2015 1:08 PM *To:* observium@observium.org *Subject:* Re: [Observium] Disabling polling on large number of ports
Ideally the settings should be saved AJAX individually, but JS/AJAX isn't my strong point (tbh, neither is PHP, but I have no choice there!)
adam.
On 17/09/2015 18:51:00, Moore, Cameron <cmoore@hsutx.edu <mailto:cmoore@hsutx.edu>> wrote: Adam, I’ve run across this issue in the past, but it’s been a while. I’ve wanted to redesign the Ports page to use a little javascript (helper <https://github.com/macek/jquery-serialize-object>) to send a single JSON stanza on POST instead of 100s of individual variables. Haven’t thought it all the way through, but maybe you want to tackle it. Another idea I haven’t had time to implement is Shift+Click to toggle a contiguous group of inputs. So, say you want to disable alerts on ifIndex 10 through 50. Click the ifIndex 10 toggle switch, then Shift+Click the ifIndex 50 toggle. This feature could be a big time saver for some people. -- Cameron Moore *From:*observium [mailto:observium-bounces@observium.org] *On Behalf Of *Adam Armstrong *Sent:* Thursday, September 17, 2015 11:06 AM *To:* observium@observium.org <mailto:observium@observium.org> *Subject:* Re: [Observium] Disabling polling on large number of ports Hi AJ, It might be easier to exclude these in the alert association if you can work out a set of rules for that. The page not saving is due to a PHP limitation. You need to change "max_input_vars" in your php.ini (/etc/php5/apache/php.ini, perhaps) adam. On 17/09/2015 17:03:30, AJ Schroeder <aj.schroeder@directsupply.com <mailto:aj.schroeder@directsupply.com>> wrote: Hello list, I have just added a bunch of our end user access switches to Observium (thanks to the devs adding Nortel support!). Anyway, I don’t want to be alerted or notified if those particular ports go up or down. The only way I know how to stop alerting on ports is to toggle the alerts field in the ports properties of the specific device. However, whenever I select all the ports on a device that has a large number of ports (over 300) all the ports show that they are toggled to off, then I click save. When the page refreshes I only see about two-thirds of them are toggled off, the rest of them are still set to poll or alert. When I manually toggle some ports and click save, the setting doesn’t save. Any help or insight on this would be appreciated. AJ Schroeder
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi Adam,
I’ll check out the alert association, that sounds like it may be a better long term solution rather than manually enabling/disabling ports; that is if I can work out those rules as you stated.
I have temporarily increased the max_input_vars in PHP to get past this issue.
Thanks for the quick response!
AJ
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, September 17, 2015 11:06 AM To: observium@observium.org Subject: Re: [Observium] Disabling polling on large number of ports
Hi AJ,
It might be easier to exclude these in the alert association if you can work out a set of rules for that.
The page not saving is due to a PHP limitation. You need to change "max_input_vars" in your php.ini (/etc/php5/apache/php.ini, perhaps)
adam.
On 17/09/2015 17:03:30, AJ Schroeder <aj.schroeder@directsupply.commailto:aj.schroeder@directsupply.com> wrote: Hello list,
I have just added a bunch of our end user access switches to Observium (thanks to the devs adding Nortel support!). Anyway, I don’t want to be alerted or notified if those particular ports go up or down. The only way I know how to stop alerting on ports is to toggle the alerts field in the ports properties of the specific device.
However, whenever I select all the ports on a device that has a large number of ports (over 300) all the ports show that they are toggled to off, then I click save. When the page refreshes I only see about two-thirds of them are toggled off, the rest of them are still set to poll or alert. When I manually toggle some ports and click save, the setting doesn’t save.
Any help or insight on this would be appreciated.
AJ Schroeder
participants (4)
-
Adam Armstrong
-
AJ Schroeder
-
Moore, Cameron
-
Tom Laermans