Hey Paul,

 

you could take a look at: 
https://github.com/seppovic/check_mk-plugins/blob/master/notify-via-xmpp/web/plugins/wato/notify-via-xmpp.py

this is at least working for me. Don’t forget to restart the cmc after creating 
the wato file.^^

 

Mit freundlichen Grüßen,

Markus Weber

 

Bayerisches Landesamt für Steuern

- IuK 37 - Rechenzentrum Nord

- Dienststelle München

- Infanteriestraße 5, 80797 München

- Tel: 089 9991 - 4834

- Fax: 089 9991 - 494834

- E-Mail: markus.we...@lfst.bayern.de

 

From: checkmk-en-boun...@lists.mathias-kettner.de 
[mailto:checkmk-en-boun...@lists.mathias-kettner.de] On Behalf Of Paul Bongers
Sent: Monday, October 17, 2016 10:46 AM
To: Check_MK-EN
Subject: [Check_mk (english)] Custom notification script - WATO plugin

 

Hi list,

 

I'm working on a custom notification plugin which I want to be configurable 
through WATO.

 

The script itself shouldn't be a problem, as I've written other plugins before.

 

For this plugin, I need it to have some parameters configurable through WATO, 
but instead of having fields that can be filled out, the only thing that's 
happened is that the textbox (where you can otherwise enter parameters 
manually) has disappeared.

 

I checked $OMD_ROOT/share/check_mk/web/plugins/wato/notifications.py to get an 
example on how to set it up. Right now my plugin only lists a single element 
which I've copied from the notification parameters for the 'mail' plugin.

 

The only changes I made are the plugin name and the parameter name (changed 
from 'from' to 'mail_from').

What am I missing here?

 

I'm on 1.2.6p16.cre.

 

-- 



Met vriendelijke groet / Best regards, 

  

Paul Bongers 

Application Engineer 

  

E-mail:    <mailto:paul.bong...@osudio.com> paul.bong...@osudio.com 

Web:      http://www.osudio.com <http://www.osudio.com/>  

  



  

  

  

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Reply via email to