|
|
| Author |
Message |
websat Cacti User
Joined: 22 Jun 2005 Posts: 58
|
Posted: Fri Aug 26, 2005 3:45 pm Post subject: |
|
|
| No news yet ?
|
|
| Back to top |
|
 |
InfInIte
Joined: 14 Apr 2004 Posts: 23
|
Posted: Sun Jan 15, 2006 1:19 pm Post subject: |
|
|
Still noting?
|
|
| Back to top |
|
 |
d2k
Joined: 09 Sep 2007 Posts: 1
|
Posted: Sun Sep 09, 2007 8:34 pm Post subject: help |
|
|
I have this error
RRDTool Says:
ERROR: parameter '#FF0000' does not represent a number in line LINE2:#FF0000:current listeners
thx for help
|
|
| Back to top |
|
 |
Smux
Joined: 10 Sep 2007 Posts: 40
|
Posted: Mon Nov 26, 2007 11:25 am Post subject: |
|
|
i already uses 1.0 version and in my cacti log shows it:
11/26/2007 02:20:08 PM - CMDPHP: Poller[0] Host[6] DS[119] CMD: php -q /home/sigfbr/public_html/cacti/scripts/singleserver_currentlisteners.php, output: U
11/26/2007 02:20:08 PM - CMDPHP: Poller[0] Host[6] DS[119] WARNING: Result from CMD not valid. Partial Result:
11/26/2007 02:20:07 PM - CMDPHP: Poller[0] Host[6] DS[118] CMD: php -q /home/sigfbr/public_html/cacti/scripts/singleserver_currentlisteners.php, output: U
|
|
| Back to top |
|
 |
bbrother
Joined: 15 Apr 2007 Posts: 5 Location: Holland
|
Posted: Tue Feb 05, 2008 9:44 am Post subject: |
|
|
My cacti (latest version) shows an invalid y-grid format.
Maybe this has something to do with the development of cacti?
I can imagine the script hasn't been updated for a long time, and now doesn't
catch up with cacti.
Bottom line:
I dont know what to do, to make the script work
Any1 can help a bit? Ill buy you a beer!
|
|
| Back to top |
|
 |
vmicovic
Joined: 15 Aug 2007 Posts: 48
|
|
| Back to top |
|
 |
Kro
Joined: 27 Mar 2008 Posts: 38
|
Posted: Wed Apr 16, 2008 8:01 pm Post subject: |
|
|
I think I fixed display graph error but I can't get data yet.
When I run php srcipt manually it works:
$ php scripts/shoutcast_single_server_stats.php
$ peak_listen1:1 cur_listen1:0 max_listen1:32 streamhits1:4 webhits1:44800 bandwithserv1:0
but poller get a timeout:
04/17/2008 03:00:06 AM - SPINE: Poller[0] Host[2] DS[107] WARNING: Result from SCRIPT not valid. Partial Result: ...
04/17/2008 03:00:06 AM - SPINE: Poller[0] Host[2] DS[107] SCRIPT: /usr/bin/php -q /usr/local/cacti/scripts/shoutcast_single_server_stats.php, output: U
I missed something else.
| Description: |
| Listeners Stats Template from cacti 0.8.7b |
|
 Download |
| Filename: |
cacti_graph_template_shoutcast_server_listener_statistics_template.xml |
| Filesize: |
20.15 KB |
| Downloaded: |
285 Time(s) |
| Description: |
| Server Hits Template from cacti 0.8.7b |
|
 Download |
| Filename: |
cacti_graph_template_shoutcast_server_hit_statistics_template.xml |
| Filesize: |
15.81 KB |
| Downloaded: |
217 Time(s) |
| Description: |
| Data Template from cacti 0.8.7b |
|
 Download |
| Filename: |
cacti_data_template_shouctcast_single_server_statistics_template.xml |
| Filesize: |
8.2 KB |
| Downloaded: |
216 Time(s) |
|
|
| Back to top |
|
 |
EpicTech
Joined: 08 Jun 2008 Posts: 3
|
Posted: Sun Jun 08, 2008 12:40 pm Post subject: |
|
|
| Has anyone fixed this problem? I get he same thing no points on the graph but the script works just fine. It would help greatly if I could get this working.
|
|
| Back to top |
|
 |
bbrotherz
Joined: 26 Jun 2008 Posts: 4
|
Posted: Thu Jun 26, 2008 1:30 pm Post subject: |
|
|
I am also desperate for this script to work.
Would be so nice!
|
|
| Back to top |
|
 |
mdcastro
Joined: 31 Jul 2008 Posts: 2
|
Posted: Thu Jul 31, 2008 10:54 pm Post subject: NO DATA, NO GRAFIC |
|
|
Hello, I am not able to make the no data appear in version 1.0 only without image grafic. In version 1.1 no data and no image. Cacti ok, ok other graphics.
Someone has some hint of what can be? Installed on the same server where are the radios I use localhost or IP? Tested with them has not changed anything.
| Description: |
|
| Filesize: |
24.39 KB |
| Viewed: |
4295 Time(s) |

|
| Description: |
|
| Filesize: |
27.15 KB |
| Viewed: |
4304 Time(s) |

|
|
|
| Back to top |
|
 |
mdcastro
Joined: 31 Jul 2008 Posts: 2
|
|
| Back to top |
|
 |
hangmanii
Joined: 12 Sep 2008 Posts: 1
|
Posted: Fri Sep 12, 2008 11:34 pm Post subject: Shoutcast graph and script working resolved |
|
|
Alright here you go folks. I have put alot of time into this so I hope that you all enjoy. The zip file contains all the needed stuff to get you up and running in just minutes. It is a simple php script along with the xml file to import into cacti.
Don't forget to edit the xml file and the shoutcast.php file.
| Description: |
|
| Filesize: |
28.65 KB |
| Viewed: |
3929 Time(s) |

|
| Description: |
|
 Download |
| Filename: |
Shoutcast.zip |
| Filesize: |
25.77 KB |
| Downloaded: |
303 Time(s) |
|
|
| Back to top |
|
 |
dfp
Joined: 24 Apr 2006 Posts: 4
|
Posted: Sun Oct 12, 2008 4:08 am Post subject: |
|
|
| Has anyone been able to fix the php script from the original poster. It works manually but when called from cacti results in log say "n". The original pulled more data from the xml which is handy to see graph. Thanks.
|
|
| Back to top |
|
 |
bbrother
Joined: 15 Apr 2007 Posts: 5 Location: Holland
|
Posted: Sun Nov 02, 2008 10:49 am Post subject: |
|
|
I got it working with 1 stream, yeehaw!
Now, i have two streams: One in 96k and one in 192k.
I cannot get it working with two, when I add a second with different filenames and php source code it keeps husseling both up. Is there a way to fix this?
|
|
| Back to top |
|
 |
Roman777
Joined: 10 Sep 2009 Posts: 6
|
Posted: Tue Sep 15, 2009 4:26 am Post subject: |
|
|
im fighting now with this shoutcast script (1.0)
Im copy singleserver_currentlisteners.php singleserver_object.php to ....cacti/scripts and i edit both
(root# php -q /usr/share/cacti/site/scripts/singleserver_currentlisteners.php
currentlisteners:9 - i mean if this works fine in konzole)
i import both xml files and add new graph, but rrd says:
| Quote: |
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="shoutcast current listeners" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="LISTENERS" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/share/cacti/site/rra/localhost_sc_cur_22.rrd":sc_cur:AVERAGE \
LINE2:a#F51D30FF:"current listeners" \
GPRINT:a:LAST:"current \:%8.2lf %s" \
GPRINT:a:MAX:"max \:%8.2lf %s" \
GPRINT:a:AVERAGE:"average \:%8.2lf %s\n" \
COMMENT:" \n" \
GPRINT:a:AVERAGE:"Tue 15 Sep 11\:20\:02 CEST 2009%8.2lf %s"
RRDTool Says:
ERROR: opening '/usr/share/cacti/site/rra/localhost_sc_cur_22.rrd': No such file or directory |
im trying wait 20 minutes (for roller) and nothing change
in error.log is few errors:
| Quote: |
09/15/2009 11:25:06 AM - POLLER: Poller[0] ERROR: Network Discover subnet setting is not set!
09/15/2009 11:25:06 AM - POLLER: Poller[0] Network Discover is now running
09/15/2009 11:25:06 AM - SYSTEM STATS: Time:4.2191 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:14 RRDsProcessed:12
09/15/2009 11:25:05 AM - CMDPHP: Poller[0] Host[1] DS[22] WARNING: Result from CMD not valid. Partial Result: U
09/15/2009 11:25:03 AM - CMDPHP: Poller[0] Host[1] DS[21] WARNING: Result from CMD not valid. Partial Result: U
09/15/2009 11:20:06 AM - POLLER: Poller[0] ERROR: Network Discover subnet setting is not set!
09/15/2009 11:20:06 AM - POLLER: Poller[0] Network Discover is now running
09/15/2009 11:20:06 AM - SYSTEM STATS: Time:4.2198 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:14 RRDsProcessed:12
09/15/2009 11:20:05 AM - CMDPHP: Poller[0] Host[1] DS[22] WARNING: Result from CMD not valid. Partial Result: U
09/15/2009 11:20:03 AM - CMDPHP: Poller[0] Host[1] DS[21] WARNING: Result from CMD not valid. Partial Result: U |
but new graph has ID 15 - in error log i cannoct see 15....
What is can be wrong?
Thanks
|
|
| Back to top |
|
 |
|