Hi, is there a way to test the script I created from within Observium?  I know I can just run the script from the command line, but I don’t get the environment variables etc.  I would like to have a way that I can use an Observium utility to launch the script and simulate a notification.

 

Thanks

 

 

From: observium <observium-bounces@observium.org> On Behalf Of Tony Guadagno via observium
Sent: Thursday, March 31, 2022 5:07 PM
To: Observium <observium@observium.org>
Cc: Tony Guadagno <tonyg@guadagno.org>
Subject: Re: [Observium] questions about email alert notification formats

 

Ok, I will check this out. thanks

 

From: observium <observium-bounces@observium.org> On Behalf Of Michael Smarsz via observium
Sent: Thursday, March 31, 2022 4:09 PM
To: Observium <observium@observium.org>
Cc: Michael Smarsz <obslist@smarsz.com>
Subject: Re: [Observium] questions about email alert notification formats

 

We used (at a former workplace) an external bash script to generate shorter SMS notifications with just the relevant variables. In our case, we had our own SMS gateway, so the script did an authenticated curl push into the web interface. It also sent condensed recovery notifications.

 

https://docs.observium.org/alerting_transports/#script

 

There's no reason that you couldn't use an external script to generate the "normal" alert notifications and recoveries for standard email delivery.

 

Michael

 

 

 

 

 

 

On 1 Apr 2022, at 4:56 am, Tony Guadagno via observium <observium@observium.org> wrote:

 

Kevin, great tip…I have made that change.

 

I would still like a way to have a different template for txt notifications…so I can shorten them etc…  Can anyone tell me if this is possible?

 

From: Kevin Riahi <kevin.riahi@envoi.com> 
Sent: Thursday, March 31, 2022 1:50 PM
To: Observium <observium@observium.org>
Cc: Tony Guadagno <tonyg@guadagno.org>
Subject: Re: [Observium] questions about email alert notification formats

 

Tony,

We switched sending our emails to the SMS gateway instead of the text gateway of our carrier and its much better.

I believe Verizons SMS to email gateway is        number@vzwpix.com.   Its worth a try.

 


        
     Thank you


Kevin Riahi



 


From: "Observium" <observium@observium.org>
To: "Observium" <observium@observium.org>
Cc: "Tony Guadagno" <tonyg@guadagno.org>
Sent: Thursday, March 31, 2022 8:09:12 AM
Subject: [Observium] questions about email alert notification formats

 

Hi, I have 2 questions about this. 

 

First, is it possible to attach a notification format per contact.  We are sending out text alert notifications using number@vtext.com and I think the format is too big for vtext.com to accept.  Is it possible that on a contact, scale down the notification?

 

Second, is it possible to change the format of the general “recover” email?

 

thanks 

 

Tony

 


_______________________________________________
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