Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Jun 27, 2019 5:27 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 

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

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/

$ip1 = "";      #Host 1
$ip2 = "";      #Host 2
$ip3 = "";      #Host 3
$ip4 = "";       #Host 4
$ip5 = "";      #Host 5
$ip6 = "";      #Host 6
$ip7 = "";      #Host 7
$ip8 = "";      #Host 8
$ip9 = "";          #Host 9
#$ip10 = "";      #Host 10

Suggestions ? :D

File comment: Unix - Multi Ping Host [6.53 KiB]
Downloaded 3247 times
File comment: Multi Ping Host
cacti_multi_ping.gif [ 10.46 KiB | Viewed 20726 times ]
 Post subject: Multiping Error
PostPosted: Wed Mar 28, 2007 9:53 am 

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

I tried to add your template,

I imported both data and graph template.

Edited file and added my interest IPs to ping and saved in /usr/local/cacti-0.8.6i/scripts/ 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.

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

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/ 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/

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?

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 2 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