New Cobalt not showing in cacti.

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Alberts
Posts: 14
Joined: Sun Jan 23, 2005 11:04 am

New Cobalt not showing in cacti.

Post by Alberts »

Hello,

Since a few days we got a new server in or cabinet..

Cacti see that the port is up.. and (we) made a graph... But it's keeps giving a X... The files aren't made.

What's wrong?

All the other devices do work... (that are like 15).

It's a Fedora FC1 BOX.
Alberts
Posts: 14
Joined: Sun Jan 23, 2005 11:04 am

Post by Alberts »

kick
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please run POLLER.PHP from the command line in DEBUG mode. Capture the command line output and then post that and the Cacti log file to this forum. Prior to doing so, review it for obvious mistakes.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Alberts
Posts: 14
Joined: Sun Jan 23, 2005 11:04 am

Post by Alberts »

The cacti log files is giving me a '404' not found... :/

In the poller outcome alot of stuf about the game add-on for cacti.. Wich does not work either.

The poller outcome.
[root@backup caccti]# php poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.10

03/04/2005 10:46:49 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/caccti/cmd.php 0 1]
Waiting on 1/1 pollers.
missing argument for "-qws"
Waiting on 1/1 pollers.
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_111.rrd --template traffic_in:traffic_out 1109929609:7159492:1293466558
OK u:0.00 s:0.00 r:1.03
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_112.rrd --template traffic_out:traffic_in 1109929609:2027172414:1512305277
OK u:0.00 s:0.00 r:1.03
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_113.rrd --template traffic_in:traffic_out 1109929609:347075141:506509350
OK u:0.00 s:0.00 r:1.03
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_114.rrd --template traffic_in:traffic_out 1109929609:2844662379:3589373199
OK u:0.00 s:0.00 r:1.03
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_115.rrd --template traffic_in:traffic_out 1109929609:2546768984:2203123931
OK u:0.00 s:0.00 r:1.03
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_116.rrd --template traffic_in:traffic_out 1109929609:2956263126:897824438
OK u:0.00 s:0.00 r:1.04
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_117.rrd --template traffic_out:traffic_in 1109929609:1592639943:606861931
OK u:0.00 s:0.00 r:1.04
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_118.rrd --template traffic_out:traffic_in 1109929609:3995407604:22556923
OK u:0.00 s:0.00 r:1.04
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_cpu_nice_119.rrd --template cpu_nice 1109929609:U
OK u:0.00 s:0.00 r:1.04
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_cpu_system_120.rrd --template cpu_system 1109929609:U
OK u:0.00 s:0.00 r:1.04
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_cpu_user_121.rrd --template cpu_user 1109929609:U
OK u:0.00 s:0.00 r:1.04
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_5min_cpu_122.rrd --template 5min_cpu 1109929609:1
OK u:0.00 s:0.00 r:1.04
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_load_1min_162.rrd --template load_1min 1109929609:U
OK u:0.00 s:0.00 r:1.05
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_load_15min_163.rrd --template load_15min 1109929609:U
OK u:0.00 s:0.00 r:1.05
03/04/2005 10:46:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_load_5min_164.rrd --template load_5min 1109929609:U
OK u:0.00 s:0.00 r:1.05
Waiting on 1/1 pollers.
Can't open perl script "/var/www/html/caccti/scripts/bf_query.pl": No such file or directory.
Use -S to search $PATH for it.
PHP Notice: Undefined offset: 1 in /var/www/html/caccti/scripts/bfv_query.php on line 4
PHP Notice: Undefined offset: 1 in /var/www/html/caccti/scripts/bfv_query.php on line 8
PHP Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/caccti/scripts/bfv_query.php on line 34
PHP Warning: fsockopen(): unable to connect to :7433 in /var/www/html/caccti/scripts/bfv_query.php on line 34
PHP Notice: Undefined variable: status in /var/www/html/caccti/scripts/bfv_query.php on line 27
PHP Notice: Undefined variable: status in /var/www/html/caccti/scripts/bfv_query.php on line 28
03/04/2005 10:46:52 AM - POLLER: Poller[0] Parsed MULTI output field 'player_count:1' [map player_count->player_count]
03/04/2005 10:46:52 AM - POLLER: Poller[0] Parsed MULTI output field 'max_players:16' [map max_players->max_players]
03/04/2005 10:46:52 AM - POLLER: Poller[0] Parsed MULTI output field '1min:0.14' [map 1min->load_1min]
03/04/2005 10:46:52 AM - POLLER: Poller[0] Parsed MULTI output field '5min:0.07' [map 5min->load_5min]
03/04/2005 10:46:52 AM - POLLER: Poller[0] Parsed MULTI output field '10min:0.02' [map 10min->load_15min]
03/04/2005 10:46:52 AM - POLLER: Poller[0] Parsed MULTI output field 'player_count:1' [map player_count->player_count]
03/04/2005 10:46:52 AM - POLLER: Poller[0] Parsed MULTI output field 'max_players:16' [map max_players->max_players]
03/04/2005 10:46:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool create /var/www/html/caccti/rra/c2950_traffic_in_191.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:1:105120 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:1:105120 RRA:MAX:0.5:288:797 RRA:LAST:0.5:6:700 RRA:LAST:0.5:24:775 RRA:LAST:0.5:1:105120 RRA:LAST:0.5:288:797
ERROR: Duplicate DS name: traffic_in
OK u:0.01 s:0.00 r:3.11
03/04/2005 10:46:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_191.rrd --template traffic_out:traffic_in N:2334479952:1693107410
ERROR: opening '/var/www/html/caccti/rra/c2950_traffic_in_191.rrd': No such file or directory
OK u:0.01 s:0.00 r:3.11
03/04/2005 10:46:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_player_count_168.rrd --template :player_count:max_players 1109929609:U:1:16
03/04/2005 10:46:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_load_1min_149.rrd --template load_1min:load_5min:load_15min 1109929609:0.14:0.07:0.02
03/04/2005 10:46:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_139.rrd --template traffic_in:traffic_out 1109929609:747670302:1109235432
03/04/2005 10:46:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_179.rrd --template traffic_out:traffic_in 1109929609:652747528:2283829629
03/04/2005 10:46:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_138.rrd --template traffic_in:traffic_out 1109929609:435460937:2316936555
03/04/2005 10:46:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_137.rrd --template traffic_in:traffic_out 1109929609:435460937:2316936555
03/04/2005 10:46:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool create /var/www/html/caccti/rra/c2950_player_count_171.rrd --step 300 DS:player_count:GAUGE:600:0:100 DS:max_players:GAUGE:600:0:1000 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:1:105120 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:1:105120 RRA:MAX:0.5:288:797 RRA:LAST:0.5:6:700 RRA:LAST:0.5:24:775 RRA:LAST:0.5:1:105120 RRA:LAST:0.5:288:797
03/04/2005 10:46:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_player_count_171.rrd --template player_count:max_players N:1:16
03/04/2005 10:46:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_110.rrd --template traffic_in:traffic_out 1109929609:3810582156:3313360182
03/04/2005 10:46:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_109.rrd --template traffic_in:traffic_out 1109929609:3666384628:1694531297
03/04/2005 10:46:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_107.rrd --template traffic_in:traffic_out 1109929609:3053008571:3436682072
03/04/2005 10:46:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.0.49/bin/rrdtool update /var/www/html/caccti/rra/c2950_traffic_in_108.rrd --template traffic_in:traffic_out 1109929609:3540537254:2913339753
03/04/2005 10:46:52 AM - SYSTEM STATS: Time: 3.1986 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
ERROR: unknown DS name ''
OK u:0.01 s:0.01 r:3.15
OK u:0.01 s:0.01 r:3.15
OK u:0.01 s:0.01 r:3.15
OK u:0.01 s:0.01 r:3.15
OK u:0.01 s:0.01 r:3.15
OK u:0.01 s:0.01 r:3.15
OK u:0.09 s:0.05 r:3.28
OK u:0.09 s:0.05 r:3.28
OK u:0.09 s:0.05 r:3.28
OK u:0.09 s:0.05 r:3.28
OK u:0.09 s:0.05 r:3.28
OK u:0.09 s:0.05 r:3.28
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

What version of Cacti?

And please check out that you don't have the problem outlined in this post http://forums.cacti.net/viewtopic.php?t=4820

You also have a script error, with a misspelled path:

Code: Select all

Can't open perl script "/var/www/html/caccti/scripts/bf_query.pl": No such file or directory. 
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You also have the infamous "duplicate traffic DS name issue". You need to edit the "Interface Traffic" Data Template and delete the duplicate DS'. The ID's of the ones to keep should be 54 and 55. Here is the error:
ERROR: Duplicate DS name: traffic_in
TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests