Hi Guys,
We've taken over Nagios and alot has not been documented.
It appears that some scripts or monitors were scripted manually.
A couple of questions, how do we know what's manually scripted, and what the monitors mean? Do we have a list of monitors available to us what can be monitored and what can't? Also if there are any best practices out there we can follow?
Cheers,
NF
Nagios HELP!
Re: Nagios HELP!
Good luck with that.
Every Nagios admin may do things slightly differently.
Any Nagios installation on a different operating system will have its configs stored in a diferernt place from teh standards when you do a source install.
I would first do a hunt for your nagios.cfg file. There is a lot of information in there that tells you what is where and what NEB's have been loaded.
Next i would look at commands.cfg and see what has been setup in there. That should point you to what commands are being used on the system.
Compare the commands in commands.cfg to your service and host check configuration files to see what is actually being used.
Compare the plugins in the nagios libexec directory and compare these against a standard plugins package to see what are the standard ones.
Then look at teh plugins that are left to see what you have.
After all that you still may need to know any off the following
1. Are any event brokers being used, NDO Utils, mk_livestatus?
2. Are any event handlers being used.
3. Is there any load balancing ? DNX, Mod_gearman etc
I reckon that more than enough to get you into the guts of Nagios.
Regards
Tom
Every Nagios admin may do things slightly differently.
Any Nagios installation on a different operating system will have its configs stored in a diferernt place from teh standards when you do a source install.
I would first do a hunt for your nagios.cfg file. There is a lot of information in there that tells you what is where and what NEB's have been loaded.
Next i would look at commands.cfg and see what has been setup in there. That should point you to what commands are being used on the system.
Compare the commands in commands.cfg to your service and host check configuration files to see what is actually being used.
Compare the plugins in the nagios libexec directory and compare these against a standard plugins package to see what are the standard ones.
Then look at teh plugins that are left to see what you have.
After all that you still may need to know any off the following
1. Are any event brokers being used, NDO Utils, mk_livestatus?
2. Are any event handlers being used.
3. Is there any load balancing ? DNX, Mod_gearman etc
I reckon that more than enough to get you into the guts of Nagios.
Regards
Tom
Re: Nagios HELP!
Just to add a bit more:
Best practices is rather a hard term to define with Nagios, there are a lot of right ways to do things and just as many wrong ways to do things, what's best practice really depends on your environment. I spoke at the Nagios conference earlier this year discussing sort of this topic, I have a design philosophy that I feel is a reasonable starting point for many medium-large businesses.
I haven't finished converting it into readable topics yet, but the first two parts are available: http://roshamboot.org/main/?p=193
There isn't a list of monitors with Nagios, as twelsh hinted you can find a list of defined scripts in commands.cfg but it's not like SCOM or many other monitoring products out there. Nagios is more of a monitoring framework than a monitoring solution, you can define whatever you want as a monitor as long as it returns a couple of basic things so that Nagios understands the output.
Check out Nagios exchange, there's a whole lot of plugins out there that people have made that you can use to monitor stuff: http://exchange.nagios.org/
The nagios core help docs will also be your new best friend: http://nagios.sourceforge.net/docs/3_0/toc.html
Best practices is rather a hard term to define with Nagios, there are a lot of right ways to do things and just as many wrong ways to do things, what's best practice really depends on your environment. I spoke at the Nagios conference earlier this year discussing sort of this topic, I have a design philosophy that I feel is a reasonable starting point for many medium-large businesses.
I haven't finished converting it into readable topics yet, but the first two parts are available: http://roshamboot.org/main/?p=193
There isn't a list of monitors with Nagios, as twelsh hinted you can find a list of defined scripts in commands.cfg but it's not like SCOM or many other monitoring products out there. Nagios is more of a monitoring framework than a monitoring solution, you can define whatever you want as a monitor as long as it returns a couple of basic things so that Nagios understands the output.
Check out Nagios exchange, there's a whole lot of plugins out there that people have made that you can use to monitor stuff: http://exchange.nagios.org/
The nagios core help docs will also be your new best friend: http://nagios.sourceforge.net/docs/3_0/toc.html