WinXP-Win8, Win2000-Server 2012 x32/x64 Templates

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

Moderators: Developers, Moderators

Post Reply
james.waite
Posts: 4
Joined: Wed May 27, 2009 11:58 am
Location: Ireland

Post by james.waite »

The first steps would be to download the verions of the templates you want to use and extract them.

You then need to copy the snmp_informant_*.xml files to your <cacti_path>/resource/snmp_queries directory.
Image

Then select Import templates from the console menu. Select the data query you want to import via the browse button, and select the save button.
Image

The next screen will show the import results.
Image

Then select 'Devices' nad the device you which to monitor, at the bottom of this screen you'll see 'Associated data Queries'. Select the query you want to add and select the add button.
Image

If this is successful, you should see
Image

At this point you can select 'Create Graphs for this Host' as the top of this screen.

Select the Data Query you wish to graph, the graph type from the dropdown box, and select create.

That should do it.
Attachments
snmp_queries.JPG
snmp_queries.JPG (56.57 KiB) Viewed 12326 times
import1.JPG
import1.JPG (87.99 KiB) Viewed 12326 times
import2.JPG
import2.JPG (95.24 KiB) Viewed 12326 times
Add1.JPG
Add1.JPG (69.8 KiB) Viewed 12326 times
add2.JPG
add2.JPG (77.81 KiB) Viewed 12326 times
ahtshun83
Cacti User
Posts: 95
Joined: Wed Feb 25, 2009 12:23 am

Post by ahtshun83 »

hi james,

thank you for your detail screenshot.

i have checked the rights on all the files inside /var/www/html/cacti/resource/snmp_queries...it is the same with ur screenshot.

what it's missing is that when i import the template from web,it didnt show the import result as per your import2.jpg.It just brings back to the import page...no error.


do you what is the cause?Please assist..
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Re: SNMP - Informant Disk Statistics Unknown type = ''

Post by G0dSmack »

james.waite wrote:I've insatlled the v7 templates and XML files.

All the data queries work, except for disk statistics which debug information is below.

Any thoughts?

Thanks

Code: Select all

+ Running data query [11].
+ Unknown type = ''
+ Found data query XML file at '/var/www/html/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/snmp_informant_disk.xml'

Technical Support

General Information
Date Wed, 27 May 2009 18:02:31 +0100
Cacti Version 0.8.7d
Cacti OS unix
SNMP Version NET-SNMP version: 5.3.2.2
RRDTool Version RRDTool 1.3.x
Hosts 5
Graphs 16
Data Sources Script/Command: 10
SNMP Query: 7
Total: 17
Poller Information
Interval 300
Type spine
Items Action[0]: 47
Action[1]: 10
Total: 57
Concurrent Processes 1
Max Threads 10
PHP Servers 1
Script Timeout 25
Max OID 10
Last Run Statistics Time:4.0774 Method:spine Processes:1 Threads:10 Hosts:6 HostsPerProcess:6 DataSources:57 RRDsProcessed:0
PHP Information
PHP Version 5.1.6
PHP OS Linux
PHP uname Linux localhost 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64
PHP SNMP Not Installed
max_execution_time 30
memory_limit 16M
I have seen this a few times before and all it took was restarting the SNMP Service on the WIndows Box.
james.waite
Posts: 4
Joined: Wed May 27, 2009 11:58 am
Location: Ireland

Post by james.waite »

I've tries that, even a reboot of the box.

Could it be the version of SNMP Informant? I've got 1.6 installed.
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

Using 1.6 here as well.
james.waite
Posts: 4
Joined: Wed May 27, 2009 11:58 am
Location: Ireland

Post by james.waite »

I managed to fix it.

Although the Data query was avaliable for selection and appeard on the device screen, it did not appear under Collection Methods | Data Queries.

I imported the xml again and it worked.
ahtshun83
Cacti User
Posts: 95
Joined: Wed Feb 25, 2009 12:23 am

Post by ahtshun83 »

hi james/godsmack,

do u able to assist me? what's went wrong with my cacti box?cant import as all...

pls help!!
soneedu
Posts: 12
Joined: Sun Nov 20, 2005 8:05 pm

Post by soneedu »

And i suggest that you need notice the template is for which version of Cacti.
I have download G0dSmack's template and G0dSmack is a nice man, but i still meet issue when i import the xml template in my Cacti 0.86i.

Error: XML: Hash version does not exist.
ahtshun83
Cacti User
Posts: 95
Joined: Wed Feb 25, 2009 12:23 am

Post by ahtshun83 »

I am using cacti 0.8.7d on CentOS 5.2

i installed cacti 0.8.7d on fedora 9 for testing purpose...successfully imported godsmack template..

i reinstall cacti on centOS 5.2 but still failed to import the template...
anyone knows what's wrong?

now i have a lot of issues with my graphs after reinstalling.....help!!

pls refer to this forum http://forums.cacti.net/viewtopic.php?t=32797
bugalou
Posts: 1
Joined: Wed Jun 10, 2009 12:30 am

Post by bugalou »

ahtshun83 wrote:I am using cacti 0.8.7d on CentOS 5.2

i installed cacti 0.8.7d on fedora 9 for testing purpose...successfully imported godsmack template..

i reinstall cacti on centOS 5.2 but still failed to import the template...
anyone knows what's wrong?

now i have a lot of issues with my graphs after reinstalling.....help!!

pls refer to this forum http://forums.cacti.net/viewtopic.php?t=32797

I am having this exact same issue. Running Cacti 0.8.7b on Ubuntu Server Jaunty 9.04

I have the data sources setup but the templates will not import. They don't error out either. They do nothing.
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

I am using CactiEZ. Takes 10 minutes to install and it just works!
aboyz
Cacti User
Posts: 56
Joined: Fri Jan 18, 2008 7:09 pm

HASH error why??

Post by aboyz »

Hi,

when I try to import template i'm getting HASH error.

Error: XML: Hash version does not exist.

Can someone help??

Version: Version 0.8.7a
Stolly
Posts: 4
Joined: Tue Jun 30, 2009 9:19 am

Re: HASH error why??

Post by Stolly »

aboyz wrote:Hi,

when I try to import template i'm getting HASH error.

Error: XML: Hash version does not exist.

Can someone help??

Version: Version 0.8.7a
Its probably because the templates are for a later verison of Cacti.

I'm on 0.8.7b and i can only import the earliest template that has been posted. The current version gives me a hash error.
cskp12
Posts: 21
Joined: Thu Jun 18, 2009 8:52 pm

win2008 sp2

Post by cskp12 »

Becase snmp std information can't support win2008 sp2 ,so template don't show up
pleas how fix this issue
Stolly
Posts: 4
Joined: Tue Jun 30, 2009 9:19 am

Re: win2008 sp2

Post by Stolly »

cskp12 wrote:Becase snmp std information can't support win2008 sp2 ,so template don't show up
pleas how fix this issue
Is this a new problem in Sp2 ? Because it certainly works in Sp1.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests