NSTI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dario.leon
Posts: 6
Joined: Thu May 31, 2018 11:04 am

NSTI

Post by dario.leon »

Hi,

We had installed NSTI following this guide:

https://support.nagios.com/kb/article/s ... ng-93.html



https://support.nagios.com/kb/article/n ... s-418.html



We had problem with database mysql and we apply this:

Danger

If the installer ran successfully the first time the following section does not apply. It is only relevent if any errors occured or if you are installing NSTI manually.

To run NSTI correctly it is important that you have your mysql set up correctly so NSTI can read and write data from the database. The most common problem with NSTI not communicating properly with your mysql database is the root user password settings. It is recommended that you set the password if the install script failed to do so.

The nsti.py file is located here:

nsti/etc/nsti.py
This is where you will set your database type, host, name, user and password. To test if you succesfully configured your database use the runserver.py in the nsti directory. It will output any connection errors and you will be able to adjust settings accordingly.

Another point to be made is that you will need to verify that the database NSTI is writing to was created. If it wasn’t you will recieve similar errors to the following:

Warning

ERROR 1049 (42000): Unknown database ‘snmptt’

Unable to add database schema. Does the snmptt exist?

This means that the installer did not create the database so you will need to run the installer again or manually add the database that will be written to, create the root user and use the password ‘password’ to make sure it is working. The default database is Snmptt.

-----------------

This solution showed this:

Image

Image

We changed permission on /nsti and we got the same error.



Idea is to get snmp traps like logs for a customer.



We are partner of Nagios.



Thanks in advance.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NSTI

Post by ssax »

EDIT: NSTI is not meant to be run on the XI server, it was meant to be run on a separate server so that it doesn't impact the XI functionality.

Running through that on any recent XI may have broken your SNMPTT configuration in XI that we'll need to fix as XI has NXTI (NSTI is an old product).

What version of XI are you running?

If you have the enterprise license add-on this would be what you would follow:

https://assets.nagios.com/downloads/nag ... h-NXTI.pdf

If you don't have the enterprise add-on this would be the one you would follow:

https://assets.nagios.com/downloads/nag ... ios_XI.pdf

Please run this command as root and send me the resulting /tmp/SNMPFILES.tar.gz file:

Code: Select all

GZIP=-9 tar czvf /tmp/SNMPFILES.tar.gz /etc/snmp /usr/share/snmp/mibs
dario.leon
Posts: 6
Joined: Thu May 31, 2018 11:04 am

Re: NSTI

Post by dario.leon »

NSTI is on other server, We are looking for watch all traps like logs.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NSTI

Post by ssax »

What OS/version is the NSTI system running?

Code: Select all

uname -a
cat /etc/*release
EDIT: NSTI only supports RHEL/CENT 5 or 6 or Debian 6 so you will need to install on one of them. NSTI is no longer being updated so it will not receive any more bugfixes or any new compatibility updates for later OS versions.
dario.leon
Posts: 6
Joined: Thu May 31, 2018 11:04 am

Re: NSTI

Post by dario.leon »

Thanks, I have installed this on Centos 7, I will try on Centos 6 and tell you.

Thanks for your help.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NSTI

Post by benjaminsmith »

Thanks, I have installed this on Centos 7, I will try on Centos 6 and tell you.
Sounds good. We'll keep this open.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked