Cacti SQL monitoring Problem

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

desscartes
Cacti User
Posts: 96
Joined: Fri Mar 14, 2014 1:16 am

Re: Cacti SQL monitoring Problem

Post by desscartes »

Thanks for your answer,

I didn't understand what you mean, sorry I am newbie about cacti.

I try the command but I have error below,

Code: Select all

]# /var/www/html/cacti-0.8.8a/scripts/ss_win_mssql.php ss_win_mssql 10.10.1.243: memory
: No such file or directoryscripts/ss_win_mssql.php: line 1: ?php
/var/www/html/cacti-0.8.8a/scripts/ss_win_mssql.php: line 2: /': Permission denied
/var/www/html/cacti-0.8.8a/scripts/ss_win_mssql.php: line 3: syntax error near unexpected token `$_SERVER["argv"][0]'
/var/www/html/cacti-0.8.8a/scripts/ss_win_mssql.php: line 3: `if (!isset($_SERVER["argv"][0]) || isset($_SERVER['REQUEST_METHOD'])  || isset($_SERVER['REMOTE_ADDR'])' {
any idea?

Thanks again,
Computer Science Eng.

Cenk Durak
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti SQL monitoring Problem

Post by cigamit »

put the path to your php binary in front of that before you run it.
desscartes
Cacti User
Posts: 96
Joined: Fri Mar 14, 2014 1:16 am

Re: Cacti SQL monitoring Problem

Post by desscartes »

Upps!
Sorry about it,



# /usr/bin/php /var/www/html/cacti-0.8.8a/scripts/ss_win_mssql.php ss_win_mssql 10.10.1.243: memory
#

but there is no otput.
Computer Science Eng.

Cenk Durak
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti SQL monitoring Problem

Post by cigamit »

Ya, not output means you are going to get a proper graph. I haven't ever seen that script before, but looking at
10.10.1.243:
makes me think you are missing a port number somewhere.
desscartes
Cacti User
Posts: 96
Joined: Fri Mar 14, 2014 1:16 am

Re: Cacti SQL monitoring Problem

Post by desscartes »

Thanks for your answer cigamit,

I checked port (which is using 1433 ) it is open

Code: Select all

# telnet 10.10.1.243 1433
Trying 10.10.1.243...
Connected to 10.10.1.243.

And I try this command with port number but problem continue..there is nothing output..

# /usr/bin/php /var/www/html/cacti-0.8.8a/scripts/ss_win_mssql.php ss_win_mssql 10.10.1.243:1433 memory
#



Actually I want to monitor my SQL server performans on cacti . I try two solution, this way and WMI. But I couldn success have a graph with two solution:(
Computer Science Eng.

Cenk Durak
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti SQL monitoring Problem

Post by cigamit »

From this point, you need to figure out why you aren't getting any information from the remote host. We can't really do that for you. It could be something as simple as a firewall on the remote host (or between cacti and the host) or it could be the user account, etc...
desscartes
Cacti User
Posts: 96
Joined: Fri Mar 14, 2014 1:16 am

Re: Cacti SQL monitoring Problem

Post by desscartes »

Thanks again cigamit for your help,

I will control again host and firewall

I will focus there:)

If I have an issue about it I will write again,

Thankss
Computer Science Eng.

Cenk Durak
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest