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.
···
–
Mail adressen content architects
Met vriendelijke groet / Best
regards,
Paul Bongers
Application Engineer
E-mail: paul.bongers@osudio.com
Web: http://www.osudio.com
Mail adressen content architects
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.Weber@lfst.bayern.de
···
From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@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: paul.bongers@osudio.com
Web: http://www.osudio.com
Can you show your code?
I also derived my plugin from the default mail script, and it IS working
https://github.com/morph027/check_mk-notification-textsecure/blob/master/textsecure-via-ssh
regards
Stefan
···
Am 17.10.2016 um 10:46 schrieb Paul Bongers:
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.
--
Mail adressen content architects
Met vriendelijke groet / Best regards,
Paul Bongers
Application Engineer
E-mail: paul.bongers@osudio.com <mailto:paul.bongers@osudio.com>
Web: Home Page Germany | SQLI;
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Thank you Markus, I’ll check it out.
···
Mail adressen content architects
Met vriendelijke groet / Best
regards,
Paul Bongers
Application Engineer
E-mail: paul.bongers@osudio.com
Web: http://www.osudio.com
On 17/10/16 11:16,
wrote:
Mail adressen content architects
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:
From:
[] Paul Bongers
Monday, October 17, 2016 10:46 AM
Check_MK-EN
[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: paul.bongers@osudio.com
Web: http://www.osudio.com
Markus.Weber@lfst.bayern.de
Markus.Weber@lfst.bayern.decheckmk-en-bounces@lists.mathias-kettner.demailto:checkmk-en-bounces@lists.mathias-kettner.de** On
Behalf Of**
Sent:
To:
Subject:
After some attempts I just started to work.
I suppose I forgot to restart apache.
···
Mail adressen content architects
Met vriendelijke groet / Best
regards,
Paul Bongers
Application Engineer
E-mail: paul.bongers@osudio.com
Web: http://www.osudio.com
On 17/10/16 11:36, Paul Bongers wrote:
Thank you Markus, I’ll check it out.
Mail adressen content architects
Met vriendelijke groet / Best
regards,
Paul Bongers
Application
Engineer
E-mail:
paul.bongers@osudio.com
Web: http://www.osudio.com
On 17/10/16 11:16, wrote:
Markus.Weber@lfst.bayern.de
Mail adressen content architects
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:
From:
[]
Paul Bongers
Monday, October 17, 2016 10:46 AM
Check_MK-EN
[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: paul.bongers@osudio.com
Web: http://www.osudio.com
Markus.Weber@lfst.bayern.decheckmk-en-bounces@lists.mathias-kettner.demailto:checkmk-en-bounces@lists.mathias-kettner.deOn Behalf Of
Sent:
To:
Subject: