JohannIt's seems good!I can remove the eventlog message in database with this commands without issue in Observium interface? :)
DELETE FROM `eventlog` WHERE `message` like "Interface changed: [ifConnectorPresent]%" AND `device_id` IN (25,28,29,38)
Thank you and good next bath ;-)
2016-09-28 21:55 GMT+02:00 Adam Armstrong <adama@memetic.org>:
______________________________Hah. That is me overcorrecting, other parts of the code need null yo be in an array. I'll fix it when I'm out of the bath :)
Adam.
Sent from BlueMail
On 28 Sep 2016, at 14:37, Johann Mallet <johann.mallet@zayo.com> wrote:JohannThanks Adam!But It's seems always have a little problem :-)
I have updated my deployment.
http://img15.hostingpics.net/pics/707969alcaltelobs.png
2016-09-28 20:39 GMT+02:00 Adam Armstrong <adama@memetic.org>:
Ok, I just committed a change to only permit 'true' and 'false' as valid values for ifConnectorPresent.
If anything else is returned, it'll be set to NULL.
adam.On 28/09/2016 12:45:13, Adam Armstrong <adama@memetic.org> wrote:
Lol, the fuck is this shit? :)
Seems we need a bit of code to disregard that value on Alcatel kit, since I have no idea what that is that they're returning! :D
This OID should be either true (1) or false (2). Anything else should probably be squished to NULL.
adam.On 28/09/2016 12:42:45, Johann Mallet <johann.mallet@zayo.com> wrote:
______________________________Hello,I have many Alcatel Lucent routers in my backbone.
Since I have add these routers, my eventlog is flooded by "Interface changed: [ifConnectorPresent]": http://img15.hostingpics.net/pics/712223floodalcatel.png
I have 1274 eventlog pages for the router in example :-/
Do you have the same problem?
Thanks,
Johann
_________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi -bin/mailman/listinfo/observiu m
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiu m
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