I was pondering that as I typed it. Being that it only has one option now doesn't really have usage.
In Alert Logging, you already show Status alerts for different types of alerts there. [image: Inline image 1]
You can also see in your alert checker that these devices are all green, with no other devices in other state. There are other visual indicators besides this that show here as well. [image: Inline image 2]
The reasons I would think of to have severities at all is to be able to link certain devices or ports to different alerts to different contacts, but we can already do that by creating a new alert and giving it different criteria. I guess a better questions would have been, does Severity really serve a purpose? :P
Thanks :)
On Tue, Mar 29, 2016 at 4:28 PM, Adam Armstrong adama@memetic.org wrote:
What would other severities do?
The existing thing is just a placeholder. I never actually implemented it, since no one asked for it.
Adam.
Sent from BlueMail http://www.bluemail.me/r
On Mar 30, 2016, at 00:27, Cody Cook observium@codycook.us wrote:
To follow up, I found out they have a bot for this instead of needing to always run POST commands to get IDs. You can send a message to the bot @IDBot to get more details.
"This bot can supply reply with your Telegram user ID. Use /getid command to get your Telegram ID Or alternatively, use /getgroupid to get a group's ID."
Use it with /getid to get your user ID if you want to be directly messaged. If you have a group, go into the group, I invited IDBot into my group, ran /getgroupid@idbot
Adam, is there any plans to add other Severities other than Critical?
On Tue, Mar 29, 2016 at 4:04 PM, Adam Armstrong adama@memetic.org wrote:
The format might be a bit more useful now!
Thanks, adam.
On 29/03/2016 23:59:15, Eduardo Schoedler listas@esds.com.br wrote: Hi,
Telegram alerts is working here. But appears there is a bug in the test_alert.php script. When I received the test alert in telegram, the device name is wrong: "Device name : Routing Engine", but in the e-mail is all correct.
Congratulations for this code, It's very useful! :)
Thank you.
Regards,
2016-03-29 19:25 GMT-03:00 Joey Stanford :
I got this working following Cody’s instructions.
What I did:
- Used Telegram’s Bot Father to create a bot
- Created a new group chat and added the bot to it
- send a test message in the group
- ran https://api.telegram.org/bot/getUpdates and picked out the
chat ID: “chat”:{“id”:-XXXXX
Note my group chat is a negative integer 5) created a new alert contact for telegram with the chat id and token
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Eduardo Schoedler _______________________________________________ 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