custom notifications by email with nagios in openshift

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

custom notifications by email with nagios in openshift

Postby llachevre » Wed Oct 11, 2017 3:15 am

hi,
i am new in this forum.
we monitor RHMAP in openshift 3.5 platform (1 nagios core for rhmap core and 1 nagios core for rhmap mbaas)
everything is ok but i want to custom our email notifications because we have 3 openshift platforms (TST/DEV/PRD) and notification mails are the same.

my problem is that all the configuration files are located in an openshift pod
i can make any change in /etc/nagios/object/commands.cfg for example (in the pod started) but in openshift a pod is not eternal, it is constantly regenerated (by a dc rollout latest, a server restart for example) and the configuration that i made is lost !
my idea, is to set my custom configuration in the deployment config (as can often be done in openshift) but i don't see how !

can you help me about my issue ?

thanks a lot

ludo
llachevre
 
Posts: 3
Joined: Wed Oct 11, 2017 2:44 am

Re: custom notifications by email with nagios in openshift

Postby tmcdonald » Wed Oct 11, 2017 9:04 am

This doesn't seem like an issue specific to Nagios, but rather a general problem of deployment in a dynamic environment. I would talk to your Openshift admin/team and see if there is any solution they can provide.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tmcdonald
Support Lead / Operations Engineer
 
Posts: 8698
Joined: Mon Sep 23, 2013 8:40 am

Re: custom notifications by email with nagios in openshift

Postby llachevre » Wed Oct 11, 2017 10:26 am

hi,

thanks a lot for your answer
it is not an issue i am agree with you but i posted this topic in case of someone already made this !

i am the openshift admin, :).

i can try to open a case to redhat directly but i am not sure tht they can help me.

thanks a lot

ludo
llachevre
 
Posts: 3
Joined: Wed Oct 11, 2017 2:44 am

Re: custom notifications by email with nagios in openshift

Postby tmcdonald » Wed Oct 11, 2017 1:27 pm

We do try to keep these forums dedicated to Nagios support, and while we don't mind answering related questions occasionally, we do not have any in-house documentation or experience with Openshift. You would be better off discussing this with their support, or looking into something like Ansible for deploying config files.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tmcdonald
Support Lead / Operations Engineer
 
Posts: 8698
Joined: Mon Sep 23, 2013 8:40 am

Re: custom notifications by email with nagios in openshift

Postby llachevre » Thu Oct 12, 2017 2:22 am

Hi,

ok no problem !
thanks a lot for your reply.

see you

ludo
llachevre
 
Posts: 3
Joined: Wed Oct 11, 2017 2:44 am

Re: custom notifications by email with nagios in openshift

Postby kyang » Thu Oct 12, 2017 12:06 pm

Thanks!

If you have more questions, feel free to create another thread!

Thank you for using the Nagios Support Forum!
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
kyang
 
Posts: 349
Joined: Tue Jul 25, 2017 3:35 pm


Return to Nagios Core

Who is online

Users browsing this forum: Bing [Bot], ikekim and 26 guests