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    


Windows IIS/FTP Traffic Monitor

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



Joined: 19 Jul 2007
Posts: 18

PostPosted: Wed Aug 15, 2007 4:31 pm    Post subject: Windows IIS/FTP Traffic Monitor Reply with quote

I'm taking the plunge and writing my own graph. I need to monitor FTP traffic on one of our IIS servers. I am using a VBScript for the input (thank goodness for Scriptomatic!), and I've muddled through setting up a working graph, but I'm having one problem.

The script returns results for each of the virtual servers and a _Total. You can see them with objItem.Name. I'm capturing the fields I want as well as objItem.Name. Now I could just filter out _Total in the script, but I was wondering if there was a way to set up a graph to select which dataset to use based on the name.

Thanks for any help you may be able to give. I'm attaching the vbscript.



ftptraffic.vbs.txt
 Description:

Download
 Filename:  ftptraffic.vbs.txt
 Filesize:  814 Bytes
 Downloaded:  68 Time(s)

Back to top
mslivkoff



Joined: 19 Jul 2007
Posts: 18

PostPosted: Thu Aug 16, 2007 9:42 am    Post subject: Reply with quote

I got it working. I set up one of the input fields to be the service name.

Is there any way to have one of the input fields passed to the graph? I'd like to be able to have the service name listed on the output graph without manually keying it in.

Attaching the finished product for anyone who wants it.



Cacti FTP Stats.zip
 Description:

Download
 Filename:  Cacti FTP Stats.zip
 Filesize:  5.54 KB
 Downloaded:  94 Time(s)

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