Thanks Box293,
It has changed the erroneous output.
[root@nagiosxi libexec]# ./plugin_capture.pl /usr/local/nagios/libexec/check_database_table_locking.pl DATABASE
DBI connect('server=localhost;database=sql_jobs','sql_jobs',...) failed: Access denied for user 'sql_jobs'@'localhost' (using password: YES) at /usr/local/nagios/libexec/check_database_table_locking.pl line 271
That no longer looks like a plugin issue but more of some sort of config required for the plugin.
You'll need to refer to the documentation on these plugins to find out what is required. If it's working on your old server, then it should just be a matter of looking at how the plugins run on the old server.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Yes, I can connect to server via isql and can run queries but same query is only working on old one, not in nagiosXI
although DB connections is established.
Had no luck with tcpdump as of yet, I only get database connection establishment and acknowledgement packets nothing of sort the values being passed within.
will dig more though
From the CLI can you authenticate to the remote SQL server? For example I can run this from the local XI machine and it works. Replace the values as needed for your DB.
Hi Guys,
This issue was fixed, and my apologies for not updating this post.
I had to change the version in my freetds.conf to make scripts work.
you helpful guys can lock this thread now