Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Apr 23, 2019 3:11 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [XML] Microsoft DHCP Free / In Use Script
PostPosted: Sun Jan 09, 2005 10:51 am 
Offline
Cacti User
User avatar

Joined: Fri Dec 31, 2004 7:07 am
Posts: 247
Location: UK
These XML files are for retrieving DHCP Free & In-Use information on Microsoft servers. This has only been tested on W2K servers but should work on 2003.

Let me know if there are any problems.

Thanks.

Pete.


Attachments:
File comment: Graph Template
cacti_graph_template_microsoft_dhcp.xml [15.5 KiB]
Downloaded 4227 times
File comment: Data Query
cacti_data_query_microsoft_dhcp_info.xml [17.59 KiB]
Downloaded 3665 times
File comment: XML Script I Wrote
microsoft_dhcp.xml [926 Bytes]
Downloaded 3690 times
Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 09, 2005 10:53 am 
Offline
Cacti User
User avatar

Joined: Fri Dec 31, 2004 7:07 am
Posts: 247
Location: UK
Data Templates & Screen-Shot


Attachments:
File comment: Screenshot - The information has only just started populating so their is only a bit of data on the graph.
DHCP Example.jpg
DHCP Example.jpg [ 50.23 KiB | Viewed 42977 times ]
File comment: Data Template - DHCP In Use
cacti_data_template_microsoft_dhcp_in_use.xml [6.52 KiB]
Downloaded 2741 times
File comment: Data Template - DHCP Free
cacti_data_template_microsoft_dhcp_free.xml [6.52 KiB]
Downloaded 2659 times
Top
 Profile  
 
 Post subject: Graph templates not showing up???
PostPosted: Thu Jan 13, 2005 2:29 pm 
Offline

Joined: Wed Aug 11, 2004 2:23 pm
Posts: 27
Location: Vermont, USA
Hi,
This looks really useful, but...

I imported the templates, all seemed to go fine, put the XML script where it should go, and I can see the data queries, data templates, graph templates, etc.

However, when I go to a device and try to add the graph template, it doesn't show up in the "Add Graph Template" drop-down box.

Am I missing something?

I am running 0.8.6c on Win2k3, iis6, php 5, mysql 4.0.20

Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 13, 2005 2:43 pm 
Offline
Cacti User
User avatar

Joined: Fri Dec 31, 2004 7:07 am
Posts: 247
Location: UK
It isn't in Associated Graph Templates, it can be found under Associated Data Queries as per the screenshot.

Pete.


Attachments:
DHCP Data Query.jpg
DHCP Data Query.jpg [ 25.29 KiB | Viewed 42846 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 23, 2005 10:43 am 
Offline

Joined: Wed Mar 02, 2005 11:58 am
Posts: 32
Hi thanks very much for this very usefull information. I was wondering if had a way to show total of use and free?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 23, 2005 10:44 am 
Offline

Joined: Wed Mar 02, 2005 11:58 am
Posts: 32
Hi thanks very much for this very usefull information. I was wondering if had a way to show total of use and free?


Top
 Profile  
 
 Post subject: for: pshankland
PostPosted: Tue Apr 05, 2005 9:26 am 
Offline

Joined: Fri Apr 01, 2005 8:36 am
Posts: 6
Congratulations for your great job man! :P

I did like to know which the way to collect the DHCP data. I´m asking it to you because I have a very large subnete (B class) and when I add the DHCP graph statistics my POOLing process delay for a long time.

Without DHCP Statistics = 1 min.
With DHCP Statistics = 5 minuts (or more)

Know you about the reason to this are happen?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 31, 2006 10:35 am 
Offline
Cacti User
User avatar

Joined: Tue Mar 08, 2005 9:50 am
Posts: 84
vtmgr: you need to import the xml just like a normal template, this will create the data query.

_________________
mrh | cacti 0.8.6h | plugin architecture | thold | monitor | iis6


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 07, 2006 11:45 am 
Offline

Joined: Fri Mar 18, 2005 10:29 pm
Posts: 29
Ok I can't get the microsoft_dhcp.xml file to import into cacti. I hit save and I don't get any indication that it was imported.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 17, 2006 6:15 am 
Offline

Joined: Thu May 26, 2005 8:15 am
Posts: 3
Location: Rome - Italy
Quote:
Ok I can't get the microsoft_dhcp.xml file to import into cacti. I hit save and I don't get any indication that it was imported.


I've the same same problem!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 05, 2006 12:21 pm 
Offline

Joined: Wed Aug 23, 2006 9:07 am
Posts: 4
that_kid wrote:
Ok I can't get the microsoft_dhcp.xml file to import into cacti. I hit save and I don't get any indication that it was imported.


The microsoft_dhcp.xml file isn't imported using the web interface. You'll need to save it in the $CACTI_ROOT/resource/snmp_queries directory, at least as far as I can tell. :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 05, 2006 12:25 pm 
Offline

Joined: Fri Mar 18, 2005 10:29 pm
Posts: 29
Ahh I'll give that a try, thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 27, 2007 9:38 am 
Offline
Cacti User

Joined: Fri Feb 16, 2007 11:37 am
Posts: 372
Location: Emeryville, CA
This is a great template. One question. Is there a way to add the Total DHCP addresses to the template. I know that i can just do a quick add when i am looking at the graph of the Free and Available, but if i could get a line at the top of the graph with the total, i can tell at a glance.

Thanks much

app

_________________
Cacti Version - 0.8.7b
Plugin Architecture - 2.2 Beta
Poller Type - CMD.php
Server Info - Linux 2.6.9-78.0.1.ELsmp
Web Server - Apache/2.0.52 (Red Hat)
PHP - 4.3.9
MySQL - 4.1.22
RRDTool - 1.2.23
SNMP - 5.1.2
Plugins
    Global Plugin Settings (settings - v0.5)
    SuperLinks (superlinks - v0.72)
    Host Info (hostinfo - v0.2)
    Report Creator (reports - v0.3)
    Update Checker (update - v0.4)
    Realtime for Cacti (realtime - v0.35)
    Cacti Log View (clog - v1.1)
    RRD File Cleaner (rrdclean - v0.36)
    Network Discovery (discovery - v0.9)
    Uptime (uptime - v0.4)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 27, 2007 12:41 pm 
Offline
Cacti Guru User

Joined: Mon Oct 16, 2006 5:57 am
Posts: 1874
Location: United Kingdom
Use a CDEF to do the maths. Once you have done this, you'll need to create another data source and apply this CDEF to it.

Have a look at the documentation for more info

_________________
Quote:
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 03, 2008 2:42 am 
Offline

Joined: Tue Oct 17, 2006 6:09 am
Posts: 3
Location: amsterdam, nl
Great Work! Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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