Automatically monitor new cloud servers using Open Monitoring Distro (OMD)?Tool to monitor new releases of...

How to travel to Japan while expressing milk?

Do Iron Man suits sport waste management systems?

Mathematica command that allows it to read my intentions

files created then deleted at every second in tmp directory

How to install cross-compiler on Ubuntu 18.04?

What do you call someone who asks many questions?

Can I hook these wires up to find the connection to a dead outlet?

Label inside tikzcd square

How do conventional missiles fly?

Why is the sentence "Das ist eine Nase" correct?

What historical events would have to change in order to make 19th century "steampunk" technology possible?

Could neural networks be considered metaheuristics?

Different meanings of こわい

Does the Idaho Potato Commission associate potato skins with healthy eating?

How to stretch the corners of this image so that it looks like a perfect rectangle?

OP Amp not amplifying audio signal

Is it possible to create a QR code using text?

Why are UK visa biometrics appointments suspended at USCIS Application Support Centers?

Machine learning testing data

Is this draw by repetition?

Send out email when Apex Queueable fails and test it

Standard deduction V. mortgage interest deduction - is it basically only for the rich?

What are the G forces leaving Earth orbit?

How obscure is the use of 令 in 令和?



Automatically monitor new cloud servers using Open Monitoring Distro (OMD)?


Tool to monitor new releases of open-source softwareOpen source server monitoringHow to monitor memory usage of linux server using nagiosMonitoring multiple linux servers and automatically restore services or rebootServers monitoring for productionOpen Source Server Monitor APIomd nagios monitoring servicestate mssql / Failed to open serviceUsing Cloud Servers and FirewallOpen Source Network Monitoring Primarily for Linux Cloud EnvironmentNagios check_mk with plugins













3















I've been spending some time getting my head around using Nagios, Check_mk and some other very useful tools installed as part of the OMD package.



WATO is especially useful for administrating all of our static Windows and Linux based servers through a GUI once the check_mk agent is installed manually.



I wanted to ask what is the best way to automate this entire monitoring process? Or even if it can be done?



We will be using chef recipes to provision new servers on a regular basis and kill off others frequently. If we are to continue using Nagios / Check_mk then it's essential that the admin effort is minimal to track and monitor our infrastructure.



Many thanks for your help.
Steve










share|improve this question



























    3















    I've been spending some time getting my head around using Nagios, Check_mk and some other very useful tools installed as part of the OMD package.



    WATO is especially useful for administrating all of our static Windows and Linux based servers through a GUI once the check_mk agent is installed manually.



    I wanted to ask what is the best way to automate this entire monitoring process? Or even if it can be done?



    We will be using chef recipes to provision new servers on a regular basis and kill off others frequently. If we are to continue using Nagios / Check_mk then it's essential that the admin effort is minimal to track and monitor our infrastructure.



    Many thanks for your help.
    Steve










    share|improve this question

























      3












      3








      3








      I've been spending some time getting my head around using Nagios, Check_mk and some other very useful tools installed as part of the OMD package.



      WATO is especially useful for administrating all of our static Windows and Linux based servers through a GUI once the check_mk agent is installed manually.



      I wanted to ask what is the best way to automate this entire monitoring process? Or even if it can be done?



      We will be using chef recipes to provision new servers on a regular basis and kill off others frequently. If we are to continue using Nagios / Check_mk then it's essential that the admin effort is minimal to track and monitor our infrastructure.



      Many thanks for your help.
      Steve










      share|improve this question














      I've been spending some time getting my head around using Nagios, Check_mk and some other very useful tools installed as part of the OMD package.



      WATO is especially useful for administrating all of our static Windows and Linux based servers through a GUI once the check_mk agent is installed manually.



      I wanted to ask what is the best way to automate this entire monitoring process? Or even if it can be done?



      We will be using chef recipes to provision new servers on a regular basis and kill off others frequently. If we are to continue using Nagios / Check_mk then it's essential that the admin effort is minimal to track and monitor our infrastructure.



      Many thanks for your help.
      Steve







      monitoring amazon-web-services nagios cloud check-mk






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 31 '12 at 12:22









      SteveSteve

      185




      185






















          2 Answers
          2






          active

          oldest

          votes


















          1














          Highlevel, there are two ways:




          • Make chef write valid Check_MK config files (this has already been done by now), and have it trigger inventory + reloads via the WATO automation. This is probably more transparent.

          • Make Check_MK read the hosts from your CMDB (should you run a professional setup, there would be one...) or from the Chef config. This is feasible the Check_MK config allows you basically anything that Python allows you. So you could read data from LDAP, some API, Chef config, or a flat file. To me, it's the cleaner approach since it has a more direct "data" interface.


          I think in the long run the first way is going to work out better for you anyway since it's more oriented towards WATO.
          I would still pick the second one and hook into the EC2 vm list and such.



          A hybrid is possible with i.e. some daemon listens in on events like VM creations and writes out config to the WATO readonly folder.



          Note:
          It would be highly stupid to not sanitycheck any such datasource. Just because some Infrastructure as Code nutcase adds a (infrastructure) bug and deletes 100% of your VMs from Chef they should not be immediately removed from monitoring.



          Make sure it stays a little out of band.



          A 2010-ish document about dynamic Check_MK interfacing could be found here:
          https://geni-orca.renci.org/trac/wiki/OMDeventhandlers



          It's really old but lays out the basic ideas well.



          I've made a first proof of concept for a config-mgmt ---to ---- Check_MK interface. Not as nice as I would like it, but just limited by my speed/skill writing Python. :)



          I'm using it with approx. non-cloud 70 servers now:
          https://bitbucket.org/darkfader/nagios/src/461992c2c5452807a37838ca99fd92977fcf96e1/check_mk/ino2cmk/ino2cmk.py?at=default






          share|improve this answer

































            0














            i am replying to this thread as we hav esame requirement



            Our infrastructure is on premise , we want to automate the process of adding / deleting / updating new server monitors , please can anyone shedd some light on how it can be done , i know the option we can do by web api and file based like automating the check_mk config , please can anyone detailed out the process of automating adding / deleting new hosts





            share








            New contributor




            Ramesh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "2"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f443990%2fautomatically-monitor-new-cloud-servers-using-open-monitoring-distro-omd%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              Highlevel, there are two ways:




              • Make chef write valid Check_MK config files (this has already been done by now), and have it trigger inventory + reloads via the WATO automation. This is probably more transparent.

              • Make Check_MK read the hosts from your CMDB (should you run a professional setup, there would be one...) or from the Chef config. This is feasible the Check_MK config allows you basically anything that Python allows you. So you could read data from LDAP, some API, Chef config, or a flat file. To me, it's the cleaner approach since it has a more direct "data" interface.


              I think in the long run the first way is going to work out better for you anyway since it's more oriented towards WATO.
              I would still pick the second one and hook into the EC2 vm list and such.



              A hybrid is possible with i.e. some daemon listens in on events like VM creations and writes out config to the WATO readonly folder.



              Note:
              It would be highly stupid to not sanitycheck any such datasource. Just because some Infrastructure as Code nutcase adds a (infrastructure) bug and deletes 100% of your VMs from Chef they should not be immediately removed from monitoring.



              Make sure it stays a little out of band.



              A 2010-ish document about dynamic Check_MK interfacing could be found here:
              https://geni-orca.renci.org/trac/wiki/OMDeventhandlers



              It's really old but lays out the basic ideas well.



              I've made a first proof of concept for a config-mgmt ---to ---- Check_MK interface. Not as nice as I would like it, but just limited by my speed/skill writing Python. :)



              I'm using it with approx. non-cloud 70 servers now:
              https://bitbucket.org/darkfader/nagios/src/461992c2c5452807a37838ca99fd92977fcf96e1/check_mk/ino2cmk/ino2cmk.py?at=default






              share|improve this answer






























                1














                Highlevel, there are two ways:




                • Make chef write valid Check_MK config files (this has already been done by now), and have it trigger inventory + reloads via the WATO automation. This is probably more transparent.

                • Make Check_MK read the hosts from your CMDB (should you run a professional setup, there would be one...) or from the Chef config. This is feasible the Check_MK config allows you basically anything that Python allows you. So you could read data from LDAP, some API, Chef config, or a flat file. To me, it's the cleaner approach since it has a more direct "data" interface.


                I think in the long run the first way is going to work out better for you anyway since it's more oriented towards WATO.
                I would still pick the second one and hook into the EC2 vm list and such.



                A hybrid is possible with i.e. some daemon listens in on events like VM creations and writes out config to the WATO readonly folder.



                Note:
                It would be highly stupid to not sanitycheck any such datasource. Just because some Infrastructure as Code nutcase adds a (infrastructure) bug and deletes 100% of your VMs from Chef they should not be immediately removed from monitoring.



                Make sure it stays a little out of band.



                A 2010-ish document about dynamic Check_MK interfacing could be found here:
                https://geni-orca.renci.org/trac/wiki/OMDeventhandlers



                It's really old but lays out the basic ideas well.



                I've made a first proof of concept for a config-mgmt ---to ---- Check_MK interface. Not as nice as I would like it, but just limited by my speed/skill writing Python. :)



                I'm using it with approx. non-cloud 70 servers now:
                https://bitbucket.org/darkfader/nagios/src/461992c2c5452807a37838ca99fd92977fcf96e1/check_mk/ino2cmk/ino2cmk.py?at=default






                share|improve this answer




























                  1












                  1








                  1







                  Highlevel, there are two ways:




                  • Make chef write valid Check_MK config files (this has already been done by now), and have it trigger inventory + reloads via the WATO automation. This is probably more transparent.

                  • Make Check_MK read the hosts from your CMDB (should you run a professional setup, there would be one...) or from the Chef config. This is feasible the Check_MK config allows you basically anything that Python allows you. So you could read data from LDAP, some API, Chef config, or a flat file. To me, it's the cleaner approach since it has a more direct "data" interface.


                  I think in the long run the first way is going to work out better for you anyway since it's more oriented towards WATO.
                  I would still pick the second one and hook into the EC2 vm list and such.



                  A hybrid is possible with i.e. some daemon listens in on events like VM creations and writes out config to the WATO readonly folder.



                  Note:
                  It would be highly stupid to not sanitycheck any such datasource. Just because some Infrastructure as Code nutcase adds a (infrastructure) bug and deletes 100% of your VMs from Chef they should not be immediately removed from monitoring.



                  Make sure it stays a little out of band.



                  A 2010-ish document about dynamic Check_MK interfacing could be found here:
                  https://geni-orca.renci.org/trac/wiki/OMDeventhandlers



                  It's really old but lays out the basic ideas well.



                  I've made a first proof of concept for a config-mgmt ---to ---- Check_MK interface. Not as nice as I would like it, but just limited by my speed/skill writing Python. :)



                  I'm using it with approx. non-cloud 70 servers now:
                  https://bitbucket.org/darkfader/nagios/src/461992c2c5452807a37838ca99fd92977fcf96e1/check_mk/ino2cmk/ino2cmk.py?at=default






                  share|improve this answer















                  Highlevel, there are two ways:




                  • Make chef write valid Check_MK config files (this has already been done by now), and have it trigger inventory + reloads via the WATO automation. This is probably more transparent.

                  • Make Check_MK read the hosts from your CMDB (should you run a professional setup, there would be one...) or from the Chef config. This is feasible the Check_MK config allows you basically anything that Python allows you. So you could read data from LDAP, some API, Chef config, or a flat file. To me, it's the cleaner approach since it has a more direct "data" interface.


                  I think in the long run the first way is going to work out better for you anyway since it's more oriented towards WATO.
                  I would still pick the second one and hook into the EC2 vm list and such.



                  A hybrid is possible with i.e. some daemon listens in on events like VM creations and writes out config to the WATO readonly folder.



                  Note:
                  It would be highly stupid to not sanitycheck any such datasource. Just because some Infrastructure as Code nutcase adds a (infrastructure) bug and deletes 100% of your VMs from Chef they should not be immediately removed from monitoring.



                  Make sure it stays a little out of band.



                  A 2010-ish document about dynamic Check_MK interfacing could be found here:
                  https://geni-orca.renci.org/trac/wiki/OMDeventhandlers



                  It's really old but lays out the basic ideas well.



                  I've made a first proof of concept for a config-mgmt ---to ---- Check_MK interface. Not as nice as I would like it, but just limited by my speed/skill writing Python. :)



                  I'm using it with approx. non-cloud 70 servers now:
                  https://bitbucket.org/darkfader/nagios/src/461992c2c5452807a37838ca99fd92977fcf96e1/check_mk/ino2cmk/ino2cmk.py?at=default







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Sep 20 '13 at 10:04

























                  answered Jul 23 '13 at 21:36









                  Florian HeiglFlorian Heigl

                  1,2481016




                  1,2481016

























                      0














                      i am replying to this thread as we hav esame requirement



                      Our infrastructure is on premise , we want to automate the process of adding / deleting / updating new server monitors , please can anyone shedd some light on how it can be done , i know the option we can do by web api and file based like automating the check_mk config , please can anyone detailed out the process of automating adding / deleting new hosts





                      share








                      New contributor




                      Ramesh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.

























                        0














                        i am replying to this thread as we hav esame requirement



                        Our infrastructure is on premise , we want to automate the process of adding / deleting / updating new server monitors , please can anyone shedd some light on how it can be done , i know the option we can do by web api and file based like automating the check_mk config , please can anyone detailed out the process of automating adding / deleting new hosts





                        share








                        New contributor




                        Ramesh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.























                          0












                          0








                          0







                          i am replying to this thread as we hav esame requirement



                          Our infrastructure is on premise , we want to automate the process of adding / deleting / updating new server monitors , please can anyone shedd some light on how it can be done , i know the option we can do by web api and file based like automating the check_mk config , please can anyone detailed out the process of automating adding / deleting new hosts





                          share








                          New contributor




                          Ramesh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.










                          i am replying to this thread as we hav esame requirement



                          Our infrastructure is on premise , we want to automate the process of adding / deleting / updating new server monitors , please can anyone shedd some light on how it can be done , i know the option we can do by web api and file based like automating the check_mk config , please can anyone detailed out the process of automating adding / deleting new hosts






                          share








                          New contributor




                          Ramesh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.








                          share


                          share






                          New contributor




                          Ramesh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered 3 mins ago









                          RameshRamesh

                          1




                          1




                          New contributor




                          Ramesh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          Ramesh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          Ramesh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Server Fault!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f443990%2fautomatically-monitor-new-cloud-servers-using-open-monitoring-distro-omd%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              117736 Шеррод Примітки | Див. також | Посилання | Навігаційне...

                              As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

                              Маріан Котлеба Зміст Життєпис | Політичні погляди |...