Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Apr 19, 2019 7:45 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Unix - Multi Ping Host Templates
PostPosted: Thu Mar 03, 2005 6:57 am 
Offline

Joined: Wed Jan 26, 2005 6:48 am
Posts: 15
Hi,

I make a script and the templates for a Multi Ping Host.
The script have the IP HOST to ping and can ping 9 Host.

Its exported from cacti 8.6 and tested in a cacti 8.6c using cactid

In the script change the IP Host for your needs and put in "path_cacti"/scripts/multi_ping.pl

Code:
$ip1 = "10.0.0.1";      #Host 1
$ip2 = "10.0.0.2";      #Host 2
$ip3 = "10.0.0.3";      #Host 3
$ip4 = "10.0.0.4";       #Host 4
$ip5 = "10.0.0.5";      #Host 5
$ip6 = "10.0.0.6";      #Host 6
$ip7 = "10.0.0.7";      #Host 7
$ip8 = "10.0.0.8";      #Host 8
$ip9 = "10.0.0.9";          #Host 9
#$ip10 = "10.0.0.10";      #Host 10


Suggestions ? :D


Attachments:
File comment: Unix - Multi Ping Host
cacti_unix_multi_ping.zip [6.53 KiB]
Downloaded 3238 times
File comment: Multi Ping Host
cacti_multi_ping.gif
cacti_multi_ping.gif [ 10.46 KiB | Viewed 20647 times ]
Top
 Profile  
 
 Post subject: Multiping Error
PostPosted: Wed Mar 28, 2007 9:53 am 
Offline

Joined: Mon Feb 05, 2007 8:03 am
Posts: 38
Hi.............

I tried to add your template,

I imported both data and graph template.

Edited Multping.pl file and added my interest IPs to ping and saved in /usr/local/cacti-0.8.6i/scripts/multping.pl fine??

While adding the graph, I am confused how to add it. For associated graph or interface?? Since i have given 9 IP addresses to ping, how can i add interface or host ,which has its seperate ips.but my IPs mentioned in .pl files are differant.

I added to hosts associated graphs ,but its not graphing at all.

Could you please what way i can add it??

THanks in advance.


Top
 Profile  
 
 Post subject: Re: Unix - Multi Ping Host Templates
PostPosted: Thu Jun 11, 2015 2:35 am 
Offline

Joined: Thu Jun 11, 2015 2:24 am
Posts: 3
Hi all,

I know this is an old thread, but I'm having difficulties with this template.

I'd like to use this to monitor connection from my WiFi AP's, the gateway and an external host.

The script is working fine, as I manually trigger it by py /var/www/html/scripts/multi_ping.pl I'm getting desired information.

But the graph stays empty.

I've done the following:
- importing data and graph template by the webinterface.
- uploaded the adjusted script to /var/www/html/scripts/multi_ping.pl

Took an existing device (which is the actual asa for this WiFi)
And done, 'create graphs for this host' and took the multi-ping template.

the graph is being created but no information shown.
The multi ping also does not show under 'Associated Graph Templates' and/or 'Associated Data Queries' and not available in the dropdown list.

Can anyone please help me?

Any help?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group