Page 2 of 4

Re: NagisQL cfgs in wrong folder

Posted: Tue Jul 09, 2013 12:47 pm
by ThyRaven
Got it running again. what are the:

#cfg_file=/etc/nagiosql/hostextinfo.cfg
#cfg_file=/etc/nagiosql/hostescalations.cfg
#cfg_file=/etc/nagiosql/hostdependencies.cfg
#cfg_file=/etc/nagiosql/serviceextinfo.cfg
#cfg_file=/etc/nagiosql/serviceescalations.cfg
#cfg_file=/etc/nagiosql/servicedependencies.cfg

for?

I had to comment them out as I dont have the files and have no idea what to put in them.

Re: NagisQL cfgs in wrong folder

Posted: Tue Jul 09, 2013 12:54 pm
by slansing
Those are as they say, they house the definitions for what name of the .cfg file is. You do not have any of these .cfg files within the proper nagios configuration directories?

Re: NagisQL cfgs in wrong folder

Posted: Tue Jul 09, 2013 12:56 pm
by abrist
Additionally, those are the files that nagiosql usually uses. By reverting the those changes, nagiosql will most likely not work.

Re: NagisQL cfgs in wrong folder

Posted: Tue Jul 09, 2013 1:13 pm
by ThyRaven
Hmm... None of those files exist and NagiosQL is running just fine.

Re: NagisQL cfgs in wrong folder

Posted: Tue Jul 09, 2013 1:40 pm
by abrist
Did you alter the default location for ql configs to the nagios default location? At least it is working.

Re: NagisQL cfgs in wrong folder

Posted: Tue Jul 09, 2013 1:41 pm
by sreinhardt
You would in fact have to have some correct configs from QL. Although I think the above error is more likely an issues with the nagios.cfg. If you could attach it opposed to pasting it, we might find something else with it. I'm happy it sounds like it's at least starting to work!

Re: NagisQL cfgs in wrong folder

Posted: Tue Jul 09, 2013 2:25 pm
by ThyRaven
For now I am good with it. I may reinstall it later just so that I have things clean looking as it is a mess right now trying to figure out the install process and getting hosts added. Now working on a dashboard for my IT Departments new 46" screen we'll have in our office space. I forget but was there something additional I needed to install before I culd get SNMP to work on Ubuntu?

Re: NagisQL cfgs in wrong folder

Posted: Tue Jul 09, 2013 2:40 pm
by abrist
Maybe install snmpd?

Code: Select all

sudo apt-get install snmpd

Re: NagisQL cfgs in wrong folder

Posted: Tue Jul 09, 2013 4:16 pm
by ThyRaven
anything I need to do once I install that to allow Nagios to find devices via SNMP? Trying to get Printer Status and Cisco Switch Status.

Re: NagisQL cfgs in wrong folder

Posted: Wed Jul 10, 2013 9:16 am
by slansing
Make sure that the snmp daemon is running, and that port 161 and 163 UDP are open. Then you should be able to touch the server.