Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Unix - Multi Ping Host Templates

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
Spark



Joined: 26 Jan 2005
Posts: 15

PostPosted: Thu Mar 03, 2005 6:57 am    Post subject: Unix - Multi Ping Host Templates Reply with quote

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 ?



cacti_multi_ping.gif
 Description:
Multi Ping Host
 Filesize:  10.46 KB
 Viewed:  7968 Time(s)

cacti_multi_ping.gif



cacti_unix_multi_ping.zip
 Description:
Unix - Multi Ping Host

Download
 Filename:  cacti_unix_multi_ping.zip
 Filesize:  6.53 KB
 Downloaded:  1381 Time(s)

Back to top
smartech1



Joined: 05 Feb 2007
Posts: 38

PostPosted: Wed Mar 28, 2007 9:53 am    Post subject: Multiping Error Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group