Anders,
The formatting of the notification sent to the service is done in the transport files themselves; Observium provides the transport with a set of variables which it can use to formulate something that fits with the service you're sending it to.
Tom
On 17/12/2015 08:27, Anders Johansson wrote:
Got it,
Seems i got blind by the dropdown with the options, my bad.
Has there been any code written to pick different templates for different alarms? Just asking as I only saw the _txt and _html templates. Or is that controlled in the post to the services? Found the API endpoints and the json post data.
//Anders
*Från:* observium observium-bounces@observium.org för Adam Armstrong adama@observium.org *Skickat:* den 14 december 2015 22:20 *Till:* Observium Network Observation System *Ämne:* Re: [Observium] New alert options
They are all implemented just *not* in ui.
They take a pipe separated set of tuples. It isn't documented, so you need to ask per-destination, or check the archives.
The ui is one of the next things on the list!
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com
On 14 December 2015 6:49:17 pm Anders Johansson Anders.Johansson@direktorn.com wrote:
Hi,
After upgrading to the latest Observium (pro) I’ve noticed a lot of new alerting destination options. Just curios.
·Are they all implemented or just in UI?
·If any are activated, how do I configure them?
We have internal email to SMS gateways, would it be possible to create one that uses a specific SMS template? I’d like to keep my sms messages short and don’t mind creating one myself. When I looked at the code last time it didn’t seems to be to much trouble, but perhaps it easier know when some of the code might be written?
//Anders
observium mailing list observium@observium.org mailto:observium%40observium.org *MailScanner has detected a possible fraud attempt from "postman.memetic.org" claiming to be* http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium