What's the matter with Spine or Rrdtool?

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

Moderators: Developers, Moderators

Post Reply
tracky2007
Posts: 34
Joined: Thu Dec 27, 2007 3:07 am

What's the matter with Spine or Rrdtool?

Post by tracky2007 »

I download a TCP-connections templates at http://forums.cacti.net/about12787.html

And i got the right output at cacti-server console just like:
cacti@Cacti-Monitor:/usr/local/apache/htdocs/cacti> perl -w /usr/local/apache/htdocs/cacti/scripts/lvm_netstat_tcp.pl 118.0.193.11 2 public 161 500
established:92 listen:22 timewait:86 timeclose:0 finwait1:0 finwait2:86 synsent:0 synrecv:0 closewait:0

But at cacti.log,i found this:
SPINE: Poller[0] Host[13] DS[1297] SCRIPT: perl -w /usr/local/apache/htdocs/cacti/scripts/lvm_netstat_tcp.pl 118.0.193.11 2 public 161 500, output: established:0 listen:0 timewait:0 timeclose:0 finwait1:0 finwait2:0 synsent:0 synrecv:0 closewait:0

so i got all zero output at graph *_*

how can i solved this problem?
Somebody help me!please

I used cacti0.87d+rrdtool1.3.6+spine0.87c+PLA2.4
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Seems like a problem with the script, not the poller. It's running but returning zero.

When you tested it from the command-line, did you test it as the user that cacti runs as? If it's using /proc and the cacti user can't look in there (for example), then you will probably have issues like this.

In fact, it looks like there are plenty of people in the thread you posted who hae had problems like this - did you read the whole thread?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
tracky2007
Posts: 34
Joined: Thu Dec 27, 2007 3:07 am

Post by tracky2007 »

thanks for your replay!
And i run this scripts within cacti user on server consloe.
I can't figure out the way to solve this problem,can u just give me some advice to check?
thank you very much~~~
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This is a BAD script. I know, because I wrote it. On servers with many connections, it merely lasts forever. My advise: drop it.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests