Cacti TCP Port Template not working (nan)
September 17th, 2009
No comments
I was struggling with the TCP Port Template for Cacti. I installed the plugin, but the state of the monitored port stays 0 (nan) in the graph.
It seems that this problem is in the /var/www/html/scripts/tcp.php file. Modify lines 54 & 56 as follows;
print "0";
} else {
print "1";
in
return "0";
} else {
return "1";
This should fix the problem.