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
Perform and show arithmetic with LuaLaTeX
Codimension of non-flat locus
What's the output of a record needle playing an out-of-speed record
Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?
Can I ask the recruiters in my resume to put the reason why I am rejected?
Convert two switches to a dual stack, and add outlet - possible here?
How do I deal with an unproductive colleague in a small company?
Why doesn't H₄O²⁺ exist?
Do infinite dimensional systems make sense?
Paid for article while in US on F-1 visa?
Can a Cauchy sequence converge for one metric while not converging for another?
Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?
Approximately how much travel time was saved by the opening of the Suez Canal in 1869?
Important Resources for Dark Age Civilizations?
Alternative to sending password over mail?
Why is 150k or 200k jobs considered good when there's 300k+ births a month?
"You are your self first supporter", a more proper way to say it
Can I make popcorn with any corn?
Client team has low performances and low technical skills: we always fix their work and now they stop collaborate with us. How to solve?
What is a clear way to write a bar that has an extra beat?
Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)
Why does Kotter return in Welcome Back Kotter?
What typically incentivizes a professor to change jobs to a lower ranking university?
Replacing matching entries in one column of a file by another column from a different file
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
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
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
add a comment |
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
add a comment |
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
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
monitoring amazon-web-services nagios cloud check-mk
asked Oct 31 '12 at 12:22
SteveSteve
185
185
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
add a comment |
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
add a comment |
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
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
edited Sep 20 '13 at 10:04
answered Jul 23 '13 at 21:36
Florian HeiglFlorian Heigl
1,2481016
1,2481016
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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