NagisQL cfgs in wrong folder

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
ThyRaven
Posts: 19
Joined: Mon Jul 08, 2013 3:48 pm

Re: NagisQL cfgs in wrong folder

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NagisQL cfgs in wrong folder

Post 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?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NagisQL cfgs in wrong folder

Post by abrist »

Additionally, those are the files that nagiosql usually uses. By reverting the those changes, nagiosql will most likely not work.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ThyRaven
Posts: 19
Joined: Mon Jul 08, 2013 3:48 pm

Re: NagisQL cfgs in wrong folder

Post by ThyRaven »

Hmm... None of those files exist and NagiosQL is running just fine.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NagisQL cfgs in wrong folder

Post by abrist »

Did you alter the default location for ql configs to the nagios default location? At least it is working.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: NagisQL cfgs in wrong folder

Post 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!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
ThyRaven
Posts: 19
Joined: Mon Jul 08, 2013 3:48 pm

Re: NagisQL cfgs in wrong folder

Post 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?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NagisQL cfgs in wrong folder

Post by abrist »

Maybe install snmpd?

Code: Select all

sudo apt-get install snmpd
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ThyRaven
Posts: 19
Joined: Mon Jul 08, 2013 3:48 pm

Re: NagisQL cfgs in wrong folder

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NagisQL cfgs in wrong folder

Post 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.
Locked