Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Unfortunately after reading this entire thread, I still am experiencing issues.
Running the script manually is simply producing NO data returned, not even error messages (mssql or otherwise). I have confirmed that I can :
- telnet to the mssql port from the cacti server
- connect via the credentials from an mssql client
- have installed php5-sybase + php5-memcached
Its frustrating because no error message means its very difficult to troubleshoot. I am trying a simple query on the command line such as the following :
tdkevin:
If you comment out line 10, which should look like 'error_reporting(0);', you'll see some error messages.
Try that and post the errors back here.
Cacti Version - 0.8.7e Plugin Architecture - 2.4 Poller Type - Cactid v Server Info - Linux Web Server - Apache/2.2.3 (CentOS) PHP - 5.2.10 MySQL - 5.1.35-log RRDTool - 1.4.4
------------------------------
As of March 23rd: Hosts - 564 Graphs - 15274
No, the line should be commented; as in PHP should NOT run it.
If it's un-commented, it hides all errors.
Cacti Version - 0.8.7e Plugin Architecture - 2.4 Poller Type - Cactid v Server Info - Linux Web Server - Apache/2.2.3 (CentOS) PHP - 5.2.10 MySQL - 5.1.35-log RRDTool - 1.4.4
------------------------------
As of March 23rd: Hosts - 564 Graphs - 15274
Cacti Version - 0.8.7e Plugin Architecture - 2.4 Poller Type - Cactid v Server Info - Linux Web Server - Apache/2.2.3 (CentOS) PHP - 5.2.10 MySQL - 5.1.35-log RRDTool - 1.4.4
------------------------------
As of March 23rd: Hosts - 564 Graphs - 15274
dust2k wrote:have you checked your SQL server got namepipe connection protocol enabled?
Are you asking me or tdkevin?
Cacti Version - 0.8.7e Plugin Architecture - 2.4 Poller Type - Cactid v Server Info - Linux Web Server - Apache/2.2.3 (CentOS) PHP - 5.2.10 MySQL - 5.1.35-log RRDTool - 1.4.4
------------------------------
As of March 23rd: Hosts - 564 Graphs - 15274
I have a new problem - not sure if it is related or what. I am able to execute the command via the commandline on my cacti server and it does indeed generate the necessary stats.
I have configured the port, username and password correctly. My input string for the "connections" graph for example , is as follows :
What do you see in the poller cache for these graphs?
Cacti Version - 0.8.7e Plugin Architecture - 2.4 Poller Type - Cactid v Server Info - Linux Web Server - Apache/2.2.3 (CentOS) PHP - 5.2.10 MySQL - 5.1.35-log RRDTool - 1.4.4
------------------------------
As of March 23rd: Hosts - 564 Graphs - 15274
Ok, but when you go to 'System Utilities -> Poller Cache' and pick the host that has the SQL Server graphs, what do you see?
Below is a screenshot of what I have.
Attachments
Sample of my Poller Cache for a host that has SQL Server graphs
Cacti_1281641939288.png (72.9 KiB) Viewed 5226 times
Cacti Version - 0.8.7e Plugin Architecture - 2.4 Poller Type - Cactid v Server Info - Linux Web Server - Apache/2.2.3 (CentOS) PHP - 5.2.10 MySQL - 5.1.35-log RRDTool - 1.4.4
------------------------------
As of March 23rd: Hosts - 564 Graphs - 15274