Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Nagios Setup Question?

Status
Not open for further replies.

JohnPtrs

MIS
Jun 13, 2006
91
US
I have setup Nagios on a FC5 box and it all went pretty slick through the install... I have so far copied all of the sample config files to the live .cfg files in /usr/local/nagios/etc and the service does start and web interface logs me in and I can see the side bar however if I try to navigate away from the home page I get this error...

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

I'm going to go look at the logs but I'm wondering if there are any Nagios gurus out there who can tell me a high level view of what I need to do from this point to finish the config and get the links working on the web interface? Thanks in advance!

JP
 
Yes, I found that earlier this morning.. good call!

However I still need to get it configured... the web interface is working though...

I'll read that link you sent... I hope its more intuitive than the others I'd been reading... What all do I need to do on servers and routers etc so nagios can monitor them, enable snmp??

Thanks,

JP
 
It depends on what you want to do, but to get anything more detailed than an "alive" status you will need to enable SNMP. SNMP can be scary, so make sure to change the public and private passphrases, and you are best off running v3 or at least v2. If v1 is all that is available, it would need to be a well protected box for me to turn it on.


pansophic
 
Ok... thanks, I'll see what I can do.

How do you have it set up with your cfg files, do you have a lot of different ones or just a few with a lot of items in them, that seems to be what I'm trying to decide now...

JP
 
I've typically used single cfg files for each item- hosts, services, contacts, etc.

I've also used SNMP, but if you can use a plugin or something else via NRPE it's typically faster. I've also used NSCA quite a bit for unsolicited updates.
 
Ok... do you just keep those files in the /usr/local/nagios/etc directory?

Do you need to edit something in the nagios.cfg file in order to do it that way?

Thanks,

JP
 
Yes. Just set a cfg_file parameter in nagios.cfg for each one.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top