Archive

Archive for September, 2009

Cacti TCP Port Template not working (nan)

September 17th, 2009 peter 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.

image

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.

Categories: Cacti Tags: