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!
NSTI install with remote mySQL server
Re: NSTI install with remote mySQL server
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?
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?
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: NSTI install with remote mySQL server
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.
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.