Templates for Infoblox NIOS

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

rinsan
Posts: 9
Joined: Thu Feb 25, 2010 3:38 am

Templates for Infoblox NIOS

Post by rinsan »

Cacti data, graph and host templates for DNS, DHCP, CPU and Memory on Infoblox NIOS.

Tested with NIOS 5.1r3-2 and Cacti 0.8.7e (poller: spine).

DHCP messages
DHCP Messages
DHCP Messages
dhcp-messages.png (55.92 KiB) Viewed 9935 times
DNS requests
DNS requests
DNS requests
dns-request-return-codes.png (38.77 KiB) Viewed 9935 times
DNS performance
DNS performance
DNS performance
dns-performance.png (17.52 KiB) Viewed 9935 times
DNS security
DNS security
DNS security
dns-security.png (15.83 KiB) Viewed 9935 times
DNS dynamic updates
DNS Dynamic updates
DNS Dynamic updates
dns-dynamic-updates.png (17.42 KiB) Viewed 9935 times
rinsan
Posts: 9
Joined: Thu Feb 25, 2010 3:38 am

Re: Templates for Infoblox NIOS

Post by rinsan »

Cacti Infoblox template
cacti_templates_infoblox-v1.0.zip
Cacti Infoblox template
(44.96 KiB) Downloaded 1393 times
niobe
Cacti User
Posts: 228
Joined: Mon Mar 10, 2008 6:52 pm
Location: Australia

Re: Templates for Infoblox NIOS

Post by niobe »

Nice will check these out more when my NIOS arrive!
rinsan
Posts: 9
Joined: Thu Feb 25, 2010 3:38 am

Re: Templates for Infoblox NIOS

Post by rinsan »

I have noticed some strange peaks in the graphs. For example a one time peak of 4 000 000 DHCP messages per minute. I have seen the same issue in the Dynamic DNS Update graph.

Probably some bug in the SNMP implementation on the NIOS but please let me know if you see the same issue and I will look in to it and open a case with Infoblox.
tvirath
Cacti User
Posts: 60
Joined: Thu Nov 20, 2008 9:38 am

Re: Templates for Infoblox NIOS

Post by tvirath »

I have downloaded the templates. When I tried to imported into Cacti 8.7g, I receive the following error message "Error: XML: Hash version does not exist." I think it the error were cause by version not compatible with the template. Cacti 8.7e version is "0019", 8.7g version is "0020", and Cacti version 8.7g is "0021". When I modified the templates and replace "0019" with "0021". When I re-import into 8.7g, I did not receive any error but the templates did not show up in Cacti. Anyone have this issue whrn they importing these templates? Thank you in advance.
rinsan
Posts: 9
Joined: Thu Feb 25, 2010 3:38 am

Re: Templates for Infoblox NIOS

Post by rinsan »

tvirath wrote:I have downloaded the templates. When I tried to imported into Cacti 8.7g, I receive the following error message "Error: XML: Hash version does not exist." I think it the error were cause by version not compatible with the template. Cacti 8.7e version is "0019", 8.7g version is "0020", and Cacti version 8.7g is "0021". When I modified the templates and replace "0019" with "0021". When I re-import into 8.7g, I did not receive any error but the templates did not show up in Cacti. Anyone have this issue whrn they importing these templates? Thank you in advance.
Maybe this thread will help you.

http://forums.cacti.net/about10135.html
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Templates for Infoblox NIOS

Post by noname »

tvirath wrote:When I tried to imported into Cacti 8.7g, I receive the following error message "Error: XML: Hash version does not exist."
That's odd.
When I imported to Cacti 0.8.7g (installed freshly, without patch), it succeeded...
import results for "cacti_graph_template_infoblox_-_dhcp_messages.xml"
import results for "cacti_graph_template_infoblox_-_dhcp_messages.xml"
import_results_sample.png (8.57 KiB) Viewed 9735 times
tvirath wrote:I think it the error were cause by version not compatible with the template. Cacti 8.7e version is "0019", <snip> and Cacti version 8.7g is "0021".
Correct, but template is "upper-compatible".
http://docs.cacti.net/manual_old:087:advanced_topics:templates#import_templates
"When importing templates, Cacti will perform a version check. All XML templates hold the version of the Cacti system that generated this XML set. Cacti will import only, if your current Cacti version equals or is higher than the exporting one."

Anyway,
tvirath wrote:When I modified the templates and replace "0019" with "0021". When I re-import into 8.7g, I did not receive any error but the templates did not show up in Cacti.
Because this host template specifies some templates which is not included in default Cacti. (such as "Linux NET-SNMP - xxxx")
And, "SNMP - Interface Statistics" in this host template seems to be customized.
(e.g. XML path is fixed with "/usr/share/cacti/resource/snmp_queries/interface.xml")

But I think this template is great worth using.
Try importing graph templates (excluded host template) one by one.


Or... try this host template instead. This involve graph templates which related Infoblox only.
cacti_host_template_infoblox-v1.0a.xml
v1.0a (host template only)
(154.56 KiB) Downloaded 768 times
import results v1.0a
import results v1.0a
import_results_infoblox_host_template-v1.0a.png (14.94 KiB) Viewed 9735 times
rinsan
Posts: 9
Joined: Thu Feb 25, 2010 3:38 am

Re: Templates for Infoblox NIOS

Post by rinsan »

noname wrote: Or... try this host template instead. This involve graph templates which related Infoblox only.
Oops! Sorry I thought the snmp-stuff was default in Cacti. If any one is interested I can do a new export and try to include the snmp-templates.
rinsan
Posts: 9
Joined: Thu Feb 25, 2010 3:38 am

Re: Templates for Infoblox NIOS

Post by rinsan »

rinsan wrote:I have noticed some strange peaks in the graphs. For example a one time peak of 4 000 000 DHCP messages per minute. I have seen the same issue in the Dynamic DNS Update graph.

Probably some bug in the SNMP implementation on the NIOS but please let me know if you see the same issue and I will look in to it and open a case with Infoblox.
I haven't had time to open a case with Infoblox but on the other side the problem seems to appear less frequently right now. The only difference is that we have 10 times more traffic (DHCP and DNS) to the Infoblox environment.
termite
Posts: 17
Joined: Mon Aug 17, 2009 1:29 pm

Re: Templates for Infoblox NIOS

Post by termite »

I am running Cacti 8.7g running on Redhat Enterprise 5.6 64-bit. I have downloaded version 1.0a and when I tried to import this template, I am kept getting an error message "Error: XML: Hash version does not exist." Anyone has any success importing?

Thanks,

-Anthony
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Templates for Infoblox NIOS

Post by noname »

termite wrote:I am running Cacti 8.7g running on Redhat Enterprise 5.6 64-bit. I have downloaded version 1.0a and when I tried to import this template, I am kept getting an error message "Error: XML: Hash version does not exist." Anyone has any success importing?
Try importing the below code by 2 ways -- (1) copy & paste (2) upload as a file.

Code: Select all

<cacti>  
  <hash_0600194c74d774655b218981fadb6d95b17b6b>
    <name>(Import Test)</name>
    <gprint_text>(Import Test)</gprint_text>
  </hash_0600194c74d774655b218981fadb6d95b17b6b>
</cacti>
This creates a GPRINT preset "(Import Test)" just for test.
jerlev
Posts: 1
Joined: Thu May 19, 2011 5:04 pm

Re: Templates for Infoblox NIOS

Post by jerlev »

rinsan wrote:
noname wrote: Or... try this host template instead. This involve graph templates which related Infoblox only.
Oops! Sorry I thought the snmp-stuff was default in Cacti. If any one is interested I can do a new export and try to include the snmp-templates.
If you can post complete, that would be appreciated. For some reason, the data queries were also not created for me. I am running version 0.8.7g of Cacti and Infoblox version 5.1r4-2.

Thanks!

--jerlev
beenpricked
Posts: 6
Joined: Tue Sep 20, 2011 5:35 pm

Re: Templates for Infoblox NIOS

Post by beenpricked »

jerlev wrote:
rinsan wrote:
noname wrote: Or... try this host template instead. This involve graph templates which related Infoblox only.
Oops! Sorry I thought the snmp-stuff was default in Cacti. If any one is interested I can do a new export and try to include the snmp-templates.
If you can post complete, that would be appreciated. For some reason, the data queries were also not created for me. I am running version 0.8.7g of Cacti and Infoblox version 5.1r4-2.

Thanks!

--jerlev
Sorry to bump the thread guys but I just found this after looking around a bit and was hoping there would be a solid conclusion. Jerlev, rinsan, and noname, were you ever to able get a more complete output here? I would like to create a chart to compare these numbers to Facebook Application Analytics and could use your advice down the road. Thanks so much.
rinsan
Posts: 9
Joined: Thu Feb 25, 2010 3:38 am

Re: Templates for Infoblox NIOS

Post by rinsan »

Hi all,

Sorry for the long over due update. I have corrected the problem with spikes in the graphs (changed data counter type from counter to derivate) and excluded the snmp-related stuff in this export.

The export is created with Cacti 0.8.7e verified working with NIOS 6.3.7.
Attachments
cacti_host_template_infoblox.xml
Infoblox DNS and DHCP template
(149.88 KiB) Downloaded 1219 times
daevans315
Posts: 1
Joined: Fri Aug 24, 2012 9:43 am

Re: Templates for Infoblox NIOS

Post by daevans315 »

This update is working very well for me. Thank you sharing your work.

Have you looked into the network utilization part of the MIB. I'd like to start using cacti and Thold to alert on subnets that are getting full. I didn't want to re-invent the wheel if you had already started down that road.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest