Page 2 of 2

Re: OpenGear Console Server

Posted: Mon Jun 10, 2013 11:06 am
by anritter6281
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.

Re: OpenGear Console Server

Posted: Mon Jun 10, 2013 12:49 pm
by slansing
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

Re: OpenGear Console Server

Posted: Mon Jun 10, 2013 1:54 pm
by anritter6281
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.

Re: OpenGear Console Server

Posted: Mon Jun 10, 2013 2:06 pm
by anritter6281
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.

Re: OpenGear Console Server

Posted: Mon Jun 10, 2013 2:23 pm
by sreinhardt
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?

Re: OpenGear Console Server

Posted: Mon Jun 10, 2013 2:24 pm
by anritter6281
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?

Re: OpenGear Console Server

Posted: Mon Jun 10, 2013 2:30 pm
by sreinhardt
That's fantastic to hear! Ya them darn firewalls! :D 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!