Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Any devices/graphs I create using Advanced Ping will create RRDs and appear to be working great but the graphs will not show up properly in Cacti (just a red X).
When I run http://host/graph_image.php?local_graph_id=368 instead of a graph I get a single 0 on the screen. I can run that same command with any other graph id and it shows the graph properly.
Will you make this available for those of us running 0.86g? Or are there changes we could make to get it to run without having a machine already with 086f?
gentoo scripts # su - apache
gentoo scripts # php ss_fping.php www.google.com 20
Warning: socket_create() Unable to create socket [1]: Operation not permitted in /var/www/localhost/htdocs/cacti/lib/ping.php on line 98
function ss_fping($hostname, $ping_sweeps=6, $ping_type="UDP", $port=80)
But the data template still only shows two fields. (see attachment).
[color=#000099]Cacti [/color][color=#CC33CC]0.8.6g ~x86[/color] [color=#000099]CactiD [/color][color=#CC33CC]0.8.6e[/color] [color=#000099]Advanced Ping [/color][color=#CC33CC]1.2[/color] [color=#000099] - For personal use while I learn it, then to be deployed at a large international site[/color]
[color=#000099]Gentoo[/color] [color=#CC33CC]2.6.12-r10[/color] [color=#000099]Apache[/color] [color=#CC33CC]2.0.54-r31[/color] [color=#000099]Perl[/color] [color=#CC33CC]5.8.6-r6[/color] [color=#000099]PHP[/color] [color=#CC33CC]4.4.0-r3[/color] [color=#000099]MySQL[/color] [color=#CC33CC]4.0.25-r2[/color]
[color=#000099]Pentium IV 2200MHz, 256MB RAM[/color]
Instead of entering "20" for the Number of Times ... you may enter "20 TCP 80" if you want to ping 20 times using TCP on port 80. Or "20 UDP 80" for UDP. Of course you may enter another port. This even works for me (using cacti 0.8.6g). Cacti will simply pass all 3 parms to the script...
Reinhard
worked. In other words I can UDP ping all the machines on my network, but nothing on the internet.
I 'spose it could be a router/firewall issue with my WRT54G, so I put my cacti server in a DMZ but unfortunately no go. TCP and ICMP both work as root but UDP always times out.
Does anyone have an idea where I could start looking? Thanks.
[color=#000099]Cacti [/color][color=#CC33CC]0.8.6g ~x86[/color] [color=#000099]CactiD [/color][color=#CC33CC]0.8.6e[/color] [color=#000099]Advanced Ping [/color][color=#CC33CC]1.2[/color] [color=#000099] - For personal use while I learn it, then to be deployed at a large international site[/color]
[color=#000099]Gentoo[/color] [color=#CC33CC]2.6.12-r10[/color] [color=#000099]Apache[/color] [color=#CC33CC]2.0.54-r31[/color] [color=#000099]Perl[/color] [color=#CC33CC]5.8.6-r6[/color] [color=#000099]PHP[/color] [color=#CC33CC]4.4.0-r3[/color] [color=#000099]MySQL[/color] [color=#CC33CC]4.0.25-r2[/color]
[color=#000099]Pentium IV 2200MHz, 256MB RAM[/color]
glowworm wrote:I 'spose it could be a router/firewall issue with my WRT54G, ...
No, not necessarily on your side. Can you imagine what the google admins may have done to prevent their servers from such "distributed denial of service" attacks? Well, I don't know exactly...
I'd prefer to use such ports that are open to public. In this case I'd have taken "20 TCP 80" or so. Why do you want to use UDP?
Reinhard
I run cacti 0.8.6g under Freebsd 5.4/Apache 2/ MySQL 4.1/ PHP 5.0.5.
I have a problem with ss_fping I think : When there is a packet loss, the script does not end and I have the following error in cacti logs :
10/06/2005 11:31:07 AM - CACTID: Poller[0] Host[4] DS[26] WARNING: Result from SERVER not valid. Partial Result: ...
10/06/2005 11:31:06 AM - CACTID: Poller[0] WARNING: The PHP Script Server did not respond in time and will therefore be restarted
When there is no packet loss, there is not problem and the advanced ping graph is correct.