![](https://secure.gravatar.com/avatar/1e8d5144639503ee5e69e24e3df6052b.jpg?s=120&d=mm&r=g)
Hi,
Ive got a customer location that they have to reboot machines nightly (old Asterisk boxes that have not been upgraded yet), and so obviously this throws a wrench in on alerts. Im not seeing anything in the documentation to where you can schedule downtime or maintenance, like Nagios let's say does.
One thing I thought of was disable the poller during this window, then enable it back with a script, pretty janky but that would work for now.
Is this something planned on the roadmap and have others shown any interest in this?
Thanks
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
I'd recommend against disabling the poller, since you'll lose data.
Preferable would be something like scripting setting ignore on all of the devices directly in the database, and then unsetting it afterwards.
Scheduled downtime is on the list, as with a lot of things :)
adam. On 24/07/2015 15:39:47, Brad Bendy brad.bendy@gmail.com wrote: Hi,
Ive got a customer location that they have to reboot machines nightly (old Asterisk boxes that have not been upgraded yet), and so obviously this throws a wrench in on alerts. Im not seeing anything in the documentation to where you can schedule downtime or maintenance, like Nagios let's say does.
One thing I thought of was disable the poller during this window, then enable it back with a script, pretty janky but that would work for now.
Is this something planned on the roadmap and have others shown any interest in this?
Thanks _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
You can actually use the "ignore until" option on devices :
http://observium/device/device=<device_id>/tab=edit/section=alerts/
Depending upon how many devices are involved, this might be the easiest way.
adam. On 24/07/2015 15:42:29, Adam Armstrong adama@memetic.org wrote: I'd recommend against disabling the poller, since you'll lose data.
Preferable would be something like scripting setting ignore on all of the devices directly in the database, and then unsetting it afterwards.
Scheduled downtime is on the list, as with a lot of things :)
adam. On 24/07/2015 15:39:47, Brad Bendy brad.bendy@gmail.com wrote: Hi,
Ive got a customer location that they have to reboot machines nightly (old Asterisk boxes that have not been upgraded yet), and so obviously this throws a wrench in on alerts. Im not seeing anything in the documentation to where you can schedule downtime or maintenance, like Nagios let's say does.
One thing I thought of was disable the poller during this window, then enable it back with a script, pretty janky but that would work for now.
Is this something planned on the roadmap and have others shown any interest in this?
Thanks _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/a6689741ad59b5599d8e678c9b391024.jpg?s=120&d=mm&r=g)
You could script is via the database, send some SQL statements at the beginning and end of the maintenance window:
UPDATE devices SET status=0,ignore=1 WHERE hostname=‘asterisk1.your.domain’; etc..
Op 24 jul. 2015, om 16:39 heeft Brad Bendy brad.bendy@gmail.com het volgende geschreven:
Hi,
Ive got a customer location that they have to reboot machines nightly (old Asterisk boxes that have not been upgraded yet), and so obviously this throws a wrench in on alerts. Im not seeing anything in the documentation to where you can schedule downtime or maintenance, like Nagios let's say does.
One thing I thought of was disable the poller during this window, then enable it back with a script, pretty janky but that would work for now.
Is this something planned on the roadmap and have others shown any interest in this?
Thanks _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
This is also configurable on the device settings page, but I think these things aren't immediately obvious to new users of Observium.
We need to work on better directing people to these settings, and making it more obvious what they're doing.
adam. On 24/07/2015 15:45:38, Michiel Klaver michiel@klaver.it wrote: You could script is via the database, send some SQL statements at the beginning and end of the maintenance window:
UPDATE devices SET status=0,ignore=1 WHERE hostname=‘asterisk1.your.domain’; etc..
Op 24 jul. 2015, om 16:39 heeft Brad Bendy het volgende geschreven:
Hi,
Ive got a customer location that they have to reboot machines nightly (old Asterisk boxes that have not been upgraded yet), and so obviously this throws a wrench in on alerts. Im not seeing anything in the documentation to where you can schedule downtime or maintenance, like Nagios let's say does.
One thing I thought of was disable the poller during this window, then enable it back with a script, pretty janky but that would work for now.
Is this something planned on the roadmap and have others shown any interest in this?
Thanks _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/c99be98101a3fa852d7186477294ca1f.jpg?s=120&d=mm&r=g)
Hi all,
You guys are life savers! It was indeed some sort of syntax error in the config.php . Replacing the file with the default and configuring the database information solved the issue.
Many Thanks,
George Gialoukas Network Engineer
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Michiel Klaver Sent: Friday, July 24, 2015 3:45 PM To: Observium Network Observation System observium@observium.org Subject: Re: [Observium] Scheduled downtime or maintence
You could script is via the database, send some SQL statements at the beginning and end of the maintenance window:
UPDATE devices SET status=0,ignore=1 WHERE hostname=‘asterisk1.your.domain’; etc..
Op 24 jul. 2015, om 16:39 heeft Brad Bendy brad.bendy@gmail.com het volgende geschreven:
Hi,
Ive got a customer location that they have to reboot machines nightly (old Asterisk boxes that have not been upgraded yet), and so obviously this throws a wrench in on alerts. Im not seeing anything in the documentation to where you can schedule downtime or maintenance, like Nagios let's say does.
One thing I thought of was disable the poller during this window, then enable it back with a script, pretty janky but that would work for now.
Is this something planned on the roadmap and have others shown any interest in this?
Thanks _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
Wrong thread :)
But in future if you do
php -l <filename>
PHP will tell you about any errors it finds. If it doesn't find any, and it's only graphs that are broken, it's likely an erroneous newline outside of the <?php ?> tags (this will break the server sending the image to the browser)
adam. On 24/07/2015 15:52:49, George Gialoukas george.gialoukas@virtuoso-uk.com wrote: Hi all,
You guys are life savers! It was indeed some sort of syntax error in the config.php . Replacing the file with the default and configuring the database information solved the issue.
Many Thanks,
George Gialoukas Network Engineer
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Michiel Klaver Sent: Friday, July 24, 2015 3:45 PM To: Observium Network Observation System Subject: Re: [Observium] Scheduled downtime or maintence
You could script is via the database, send some SQL statements at the beginning and end of the maintenance window:
UPDATE devices SET status=0,ignore=1 WHERE hostname=‘asterisk1.your.domain’; etc..
Op 24 jul. 2015, om 16:39 heeft Brad Bendy het volgende geschreven:
Hi,
Ive got a customer location that they have to reboot machines nightly (old Asterisk boxes that have not been upgraded yet), and so obviously this throws a wrench in on alerts. Im not seeing anything in the documentation to where you can schedule downtime or maintenance, like Nagios let's say does.
One thing I thought of was disable the poller during this window, then enable it back with a script, pretty janky but that would work for now.
Is this something planned on the roadmap and have others shown any interest in this?
Thanks _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/1e8d5144639503ee5e69e24e3df6052b.jpg?s=120&d=mm&r=g)
I was going to mess with SQL but I have not looked at the database at all, but yeah that's a much better plan I think, or just script it via URL as well I guess.
I did see the alerts under the device settings but in my case I have to do it nightly so that's a bummer. But for a schedule window once a month or something ill use that feature for sure, makes much more sense.
Thanks for the help and quick responses, you guys rock!
On Fri, Jul 24, 2015 at 7:58 AM, Adam Armstrong adama@memetic.org wrote:
Wrong thread :)
But in future if you do
php -l <filename>
PHP will tell you about any errors it finds. If it doesn't find any, and it's only graphs that are broken, it's likely an erroneous newline outside of the <?php ?> tags (this will break the server sending the image to the browser)
adam.
On 24/07/2015 15:52:49, George Gialoukas george.gialoukas@virtuoso-uk.com wrote:
Hi all,
You guys are life savers! It was indeed some sort of syntax error in the config.php . Replacing the file with the default and configuring the database information solved the issue.
Many Thanks,
George Gialoukas Network Engineer
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Michiel Klaver Sent: Friday, July 24, 2015 3:45 PM To: Observium Network Observation System Subject: Re: [Observium] Scheduled downtime or maintence
You could script is via the database, send some SQL statements at the beginning and end of the maintenance window:
UPDATE devices SET status=0,ignore=1 WHERE hostname=‘asterisk1.your.domain’; etc..
Op 24 jul. 2015, om 16:39 heeft Brad Bendy het volgende geschreven:
Hi,
Ive got a customer location that they have to reboot machines nightly (old Asterisk boxes that have not been upgraded yet), and so obviously this throws a wrench in on alerts. Im not seeing anything in the documentation to where you can schedule downtime or maintenance, like Nagios let's say does.
One thing I thought of was disable the poller during this window, then enable it back with a script, pretty janky but that would work for now.
Is this something planned on the roadmap and have others shown any interest in this?
Thanks _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (4)
-
Adam Armstrong
-
Brad Bendy
-
George Gialoukas
-
Michiel Klaver