Page 1 of 1

NSTI install with remote mySQL server

Posted: Wed Jul 24, 2013 4:36 pm
by c6391925
It seems that install.py for NSTI is not really developed well for running on server other than the mySQL database server. Since it prompts for the host server name, it led me to believe that it should be run from the Nagios server.

In particular, function dump_sql() in install.py does not use the host-string.

Is it safe to presume that ./install.py must be run on the mySQL server?

Thanks!

Re: NSTI install with remote mySQL server

Posted: Wed Jul 24, 2013 7:56 pm
by c6391925
OK. I figured out how to run NSTI on the Nagios server --- accessing the remote server.
I still have questions about "Filtering". Do filters only remove traps from the current view?
Is there a way to "really" filter the traps before they get to the database? Or would this be outside of what NSTI is meant to do?

Re: NSTI install with remote mySQL server

Posted: Thu Jul 25, 2013 10:13 am
by sreinhardt
The way that snmptt handles logging of the traps and nsti pulls from the database, there is no real way to not push that data into the db. As for filtering, you are correct this is purely what you are seeing from the database, not filtering what is put in. It is outside of nsti, but mainly for the reason that it has no control over what is pushed to the db, but instead only reads from it.