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.
thanks for the templates.
Just to give some information on how i got them to work with the latest cactiEZ-distribution: i need to edit your tcp.php script, line 54 and 57 (print "0", print "1"). Instead of "printing" the retun values i "returned" them:
return "0", return "1".
I had all "NaN" before, poller output was "1U" instead of only "1" or "0".
Hope this might help someone .
Greetz,
André
how do you fix this issue ,please tell me
thx
my cacti version:0.87e
edit your tcp.php script, line 54 and 57 (print "0", print "1"). Instead of "printing" the retun values i "returned" them:
return "0", return "1".
I had all "NaN" before, poller output was "1U" instead of only "1" or "0".
edit your tcp.php script, line 54 and 57 (print "0", print "1"). Instead of "printing" the retun values i "returned" them:
return "0", return "1".
I had all "NaN" before, poller output was "1U" instead of only "1" or "0".
Hi. I have a problem. This template had been working good until today morning. But now he refuses to make a new RRD file. When I creating a new TCP graphs he does not make any RRD files yet. Another templates makes graphs fine. Help my please to solve my problem.
permissions on the RRA directory are 777
I think that the problem is something else because if I use any other templates(memory,cpu,disk space etc..) rrd files makes correctly.
Cacti Version - 0.8.7e Plugin Architecture - 2.6 Poller Type - Cactid v Server Info - Linux 2.6.9-89.0.20.ELsmp Web Server - Apache/2.0.63 (CentOS) PHP - 5.1.6 PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, gd, ldap, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, eAccelerator MySQL - 5.0.82sp1 RRDTool - 1.2.23 SNMP - 5.1.2 Plugins
I use cacti version 0.8.7g when create TCP graph , I have error in my graph
please help me to fix it
Hello!I had came accrocess the same thing as you!
However ,after I alter the graph template ,put the Last cf to average ,It become ok!
wish to help you!
I use cacti version 0.8.7g when create TCP graph , I have error in my graph
please help me to fix it
Hello!I had came accrocess the same thing as you!
However ,after I alter the graph template ,put the Last cf to average ,It become ok!
wish to help you!
Thank you , I alter the graph template from Last to average, It OK
Sorry to dredge up an old thread, but I'm having some issues with this template. I had the no RRA's issue and changed to average from last to fix that. I also made the change to the tcp.xml from print to return. When I monitor port 22 the value returned is 4. Any ideas why?
+ Running data query [15].
+ Found type = '6' [Script Query - Script Server].
+ Found data query XML file at '/var/www/cacti/resource/script_server/tcp.xml'
+ XML file parsed ok.
+ <arg_num_indexes> missing in XML file, 'Index Count Changed' not supported
+ Executing script for list of indexes '"/usr/bin/php" -q /var/www/cacti/scripts/tcp.php Host 63 index' Index Count: 1
+ Found index:
+ Executing script query '"/usr/bin/php" -q /var/www/cacti/scripts/tcp.php Host 63 query index'
+ Found item [ServiceIndex='53'] index: 53
+ Found item [ServiceIndex='389'] index: 389
In Management > Data Sources > Host - TCP > Turn On Data Source Debug Mode
+ Running data query [16].
+ Found type = '6' [Script Query - Script Server].
+ Found data query XML file at '/usr/share/cacti/resource/script_server/tcp.xml'
+ XML file parsed ok.
+ <arg_num_indexes> missing in XML file, 'Index Count Changed' not supported
+ Executing script for list of indexes '"/usr/bin/php" -q /usr/share/cacti/scripts/tcp.php 192.168.4.237 156 index' Index Count: 2
+ Found index:
+ Found index: Warning: Missing argument 4 for TCP() in /var/lib/cacti/scripts/tcp.php on line 33
+ Executing script query '"/usr/bin/php" -q /usr/share/cacti/scripts/tcp.php 192.168.4.237 156 query index'
+ Found item [ServiceIndex='HTTP'] index: 80
+ Found item [ServiceIndex='HTTP SSL'] index: 443
Only 80 and 443 ports detected, but exist 3389 and 8905 (I added these ports in ports.inc) and if I run on cacti server:
/usr/share/cacti/scripts/tcp.php 192.168.4.237 156 query index
these ports have been viewed:
3389!RDP
8905!SSI
80!HTTP
443!HTTP SSL