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

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

Moderators: Developers, Moderators

Post Reply
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

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

Post by G0dSmack »

I have spent a few weeks on getting these looking and working good. Let me know what you think. You will need to install snmp informant std. 1.6 on your windows machines for these to work. Copy the snmp_informant_*.xml files to your cacti /resource/snmp_queries directory on your cacti box. Import the cacti_data_query_w32_*.xml files into the cacti web interface. These templates include CPU, Network, Disk, Memory and objects/threads. I look all over out here to try and find some Windows templates that I liked and none of them seemed to get me where I wanted to go. So I created all of these. Feel free to contact me if you have any issues.

Head over to http://www.everythingshouldbevirtual.com for more info.
Attachments
Cacti_SNMP_INFORMANT_STD_W32_Metrics.zip
(37.01 KiB) Downloaded 27304 times
Last edited by G0dSmack on Mon Feb 25, 2013 3:37 pm, edited 8 times in total.
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

I just realized some of the graph templates did not export correctly. I will be updating those and reposting.
User avatar
sizulku
Cacti User
Posts: 110
Joined: Mon Nov 04, 2002 9:15 am
Location: ACEH
Contact:

Post by sizulku »

It would be great if you could posting your graph sample.
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

Here are the updated templates.
Attachments
Cacti_SNMP_INFORMANT_STD_W32_Metrics.zip
(37.26 KiB) Downloaded 12821 times
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

Here are some images of the graphs.
Attachments
CPU Chart.JPG
CPU Chart.JPG (60.16 KiB) Viewed 182727 times
Disk (IO).JPG
Disk (IO).JPG (50.9 KiB) Viewed 182727 times
Disk (Percent Usage).JPG
Disk (Percent Usage).JPG (53.07 KiB) Viewed 182727 times
Disk (Queues-Transfers).JPG
Disk (Queues-Transfers).JPG (79.96 KiB) Viewed 182727 times
Memory Usage.JPG
Memory Usage.JPG (75.3 KiB) Viewed 182727 times
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

More Images
Attachments
Network (IO).JPG
Network (IO).JPG (61.21 KiB) Viewed 182725 times
Network (Packets).JPG
Network (Packets).JPG (72.59 KiB) Viewed 182725 times
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

I have found some other issues with the data templates gathering data to populate some of the gprint items. Also issues with THOLD plugin. I am in the process of fixing these issues and will repost the updated templates. I had a working set of templates and tried cleaning them up some and made a few mistakes. But I am using these in a production environment and need them as accurate as I can get them.
pheezy
Cacti User
Posts: 61
Joined: Thu Oct 26, 2006 5:30 pm

Post by pheezy »

Looks great, very interested in the updated templates when you get them fixed. :)
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

I have the new tempates ready. But when I export and them import I am getting lots of unmet dependencies now. What is the trick?
pheezy
Cacti User
Posts: 61
Joined: Thu Oct 26, 2006 5:30 pm

Post by pheezy »

Can you post the errors? Whenever I've exported graphs it figures out all the dependencies for me.
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

OK got them fixed. Here is the latest. You will want to delete all current data sources, delete all of the templates (Graph,data query, etc.). Import these new templates. You do not need to add the snmp_informant_*.xml files to the cacti box. Those have not changed. These templates now work with the THOLD plugin. Enjoy@!
Attachments
Cacti_SNMP_INFORMANT_STD_W32_Metrics.zip
(39.09 KiB) Downloaded 11942 times
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

Ok it looks like THOLD thresholds links can get hosed. If I create a specific counter in a data source with multiple graphs associated with the data source, the threshold are read correctly, but some of the links for the thresholds dont take me to the correct graph when clicked on. Maybe someone can help me out. The only way I see is to be able get THOLD to ask for a graph template once you select the data source.
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

Ok someone help me out here. I am having a problem graphing network traffic with servers that have more than 1 named similar from the snmp query. All I get is nan. If I select only one nic it works. Is there a way to query for IP address from the nic using snmp informant standard, or does anyone have a better solution?
pheezy
Cacti User
Posts: 61
Joined: Thu Oct 26, 2006 5:30 pm

Post by pheezy »

The OID table for network interfaces appears to use only the name as its index:

Code: Select all

+--networkInterfaceTable(3)
| |
| +--networkInterfaceEntry(1) [netInstance]
| |
| +-- r-n InstanceName netInstance(1)
| +-- r-n Gauge32 netBytesReceivedPerSec(2)
| +-- r-n Gauge32 netBytesSentPerSec(3)
| +-- r-n Gauge32 netBytesTotalPerSec(4)
| +-- r-n Gauge32 netCurrentBandwidth(5)
| +-- r-n Gauge32 netOutputQueueLength(6)
| +-- r-n Gauge32 netPacketsOutboundDiscarded(7)
| +-- r-n Gauge32 netPacketsOutboundErrors(8)
| +-- r-n Gauge32 netPacketsReceivedDiscarded(9)
| +-- r-n Gauge32 netPacketsReceivedErrors(10)
| +-- r-n Gauge32 netPacketsReceivedUnknown(11)
| +-- r-n Gauge32 netPacketsReceivedPerSec(12)
| +-- r-n Gauge32 netPacketsSentPerSec(13)
| +-- r-n Gauge32 netPacketsPerSec(14)
You probably wouldn't want to query by IP either, as some interfaces may have multiple addresses assigned to them.
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

Ok. Cool. I am back to my original templates and they are working great for me. Unfortunately I am unable to export them and get them to import without screaming about unmet dependencies. I would be glad to export these templates and let someone attempt to figure out the reason for the unment dependencies. Also just an FYI... this was my first attempt at creating templates for Cacti. I just started using it in the last 2-3 weeks.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests