At one point I did see an unconfigured object, but now I don't. I base this on my clearing the unconfigured objects list and running a dry contact test. I have the opengear sending NSCA and SNMPTRAP messages to the Nagios server. I am getting the SNMPTRAP messages. Is there a log for the NSCA traffic?
The other question is, was clearing the unconfigured objects list a bad thing to do? I ask because there are still unconfigured objects comming in, according the the /var/log/messages log showing snmp traps coming in, but now they don't show up again in the unconfigured objects list.
OpenGear Console Server
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: OpenGear Console Server
Depending on when the next trap will be sent, it could take some time for the unconfigured objects list to populate again, as far as NSCA logging goes, by default it logs to your system log, weather it be dmesg, rsyslog, etc, I'd take a look at:
Code: Select all
/var/log/messages | grep NSCA-
anritter6281
- Posts: 25
- Joined: Tue May 25, 2010 8:38 am
Re: OpenGear Console Server
I am still looking for the NSCA logging.
I removed the opengear host from nagios (because I modified the config of the unit itself), then copied the nagios config from it as I have done before with the intent of doing the config import as I have done before. This time it had trouble finding the config file, and when it eventually saw it, the importer said it imported 1 file correctly, but the host and it's services do not show up in the core config manager and nagios in general. Use of the config import feature seems to be quirky.
I removed the opengear host from nagios (because I modified the config of the unit itself), then copied the nagios config from it as I have done before with the intent of doing the config import as I have done before. This time it had trouble finding the config file, and when it eventually saw it, the importer said it imported 1 file correctly, but the host and it's services do not show up in the core config manager and nagios in general. Use of the config import feature seems to be quirky.
-
anritter6281
- Posts: 25
- Joined: Tue May 25, 2010 8:38 am
Re: OpenGear Console Server
I figured out some of the import problem. The search field seems to see files on the filesystem that don't show up in the list below it. And sometimes it lets those files be imported (or so it says). This condition seemed to happen for me when there was a hyphen in the file name of the config file.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: OpenGear Console Server
Have you run those files through the import prep tool? Sorry to ask again, but where are we at now, are things starting to work as expected, or still hungup on something?
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.
-
anritter6281
- Posts: 25
- Joined: Tue May 25, 2010 8:38 am
Re: OpenGear Console Server
I figured it out. Everything is working great now. The NSCA part was broken because the firewall on the opengear unit was block one direction of traffic and not logging that it was blocking the traffic. Everything is working great now. If anyone wants it, I can put together a setup procedure that works for getting OpenGear units working with NagiosXI, including temperature, humidity, and dry contact monitoring.
The importing is slightly quirky. NRPE is working great...and now NSCA is working great.
What import prep tool?
The importing is slightly quirky. NRPE is working great...and now NSCA is working great.
What import prep tool?
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: OpenGear Console Server
That's fantastic to hear! Ya them darn firewalls!
I linked to it above, but just to show it again, http://assets.nagios.com/downloads/nagi ... p_Tool.pdf The import prep tool is something that we have created to use with nagios xi and assist in formatting configurations prior to importing them into the XI interface. It really just helps XI register what order things should be imported to prevent issues.
I'll go ahead and lock this up then.
Edit: a walkthrough is always appreciated, feel free to post any links or documentation to exchange and we will be sure to approve it!
I'll go ahead and lock this up then.
Edit: a walkthrough is always appreciated, feel free to post any links or documentation to exchange and we will be sure to approve it!
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.