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    


Monitor remote server pinging

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: General
Author Message
MadX



Joined: 23 Apr 2008
Posts: 31

PostPosted: Sat May 03, 2008 11:45 pm    Post subject: Monitor remote server pinging Reply with quote

is there any chance that i can graph the results of a remote server pinging a spacific target like googl.com, not monitoring the Cacti pc pinging a target.

is it possible
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 8831
Location: WA, USA

PostPosted: Sun May 04, 2008 12:29 pm    Post subject: Reply with quote

1) wrong forum, moving

2) There are many ping scripts on the forum, have you searched yet? 'advanced ping template' would be among the most popular.
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 15660
Location: Muenster, Germany

PostPosted: Sun May 04, 2008 3:00 pm    Post subject: Reply with quote

You may do so e.g. by using a cgi script on the remote host. Cacti will then call the cgi via wget and the cgi does the pinging.
It's awful, but should work
Reinhard
Back to top
MadX



Joined: 23 Apr 2008
Posts: 31

PostPosted: Mon May 05, 2008 9:33 pm    Post subject: Reply with quote

thanks for raplaying but

can you please gandalf tell me how do i achive what you said.
i tried almost all the scripts in here but still didn't find any one as i need it.

graph the results of a remote server pinging a spacific target like googl.com "not monitoring the Cacti pc pinging a target. "
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 15660
Location: Muenster, Germany

PostPosted: Tue May 06, 2008 2:00 pm    Post subject: Reply with quote

1. Prereqs
You will need a web server on the host that shall perform the pinging.

2. Create the ping script
Login to that host and create a ping script in the web-servers cgi directory. Write the script in a way that parameters may be provided via standard cgi parm call.

3. Create the cacti script
See 1st link of my sig to learn how to do so (generally speaking). But your cacti script will have to call wget, use some HTTP library (perl, php or the like) or e.g. curl to call the ping script on the remote host

Reinhard
Back to top
MadX



Joined: 23 Apr 2008
Posts: 31

PostPosted: Thu May 08, 2008 6:40 pm    Post subject: Reply with quote

Thank you gandalf, i appreciate you help

now i know of what i will start "googling"
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group