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

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

Moderators: Developers, Moderators

Post Reply
ahtshun83
Cacti User
Posts: 95
Joined: Wed Feb 25, 2009 12:23 am

Post by ahtshun83 »

ataro wrote:I have imported the SNMP informant template for Memory in Cacti.
I need to get RAM usage grapg for Win2k Server. What is the graph template name I should use in cacti?
how did u manage to import the template? I never able to import those templates...

pls help!!
ataro
Posts: 25
Joined: Sun May 10, 2009 8:46 pm

Post by ataro »

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.
ataro
Posts: 25
Joined: Sun May 10, 2009 8:46 pm

Post by ataro »

G0dSmack wrote:Ok. I just came across an issue with monitoring systems with more than 4GB of memory. I have updated everything required and the templates are being attached here. If you already use these templates you will need to remove all data sources for W32 - Memory stats (usage), and make sure to delete all graphs associated when prompted. Copy over to your cacti install folder the snmp_informant_memory.xml and replace the current one. Now import cacti_data_query_snmp_-_informant_memory_statistics.xml into the cacti console. Now go back and recreate your graphs for the memory usage on each system being monitored. As always let me know if you see any issues.
I am able to generate the graph successfully but the Maximum value is not displayed below the graph. Please refer the attachment.
Attachments
Memory-W32.JPG
Memory-W32.JPG (79.53 KiB) Viewed 21953 times
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

You need to change your graph template for height and width...I had all of mine set to 200x600.
W01and
Posts: 1
Joined: Tue May 19, 2009 3:35 am

Post by W01and »

Hello! I've got a litle problem... Can anyone help plz?

Code: Select all

RRDTool Command:
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Backup Memory (Paging)" \
--base=1000 \
--height=200 \
--width=600 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Memory (Paging)" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/local/share/cacti/rra/backup_sinfmempagesoutps_20.rrd":sinfMemPagesInputPS:AVERAGE \
DEF:b="/usr/local/share/cacti/rra/backup_sinfmempagesoutps_20.rrd":sinfMemPagesOutPS:AVERAGE \
DEF:c="/usr/local/share/cacti/rra/backup_sinfmempagesoutps_20.rrd":sinfMemPagesPerSec:AVERAGE \
DEF:d="/usr/local/share/cacti/rra/backup_sinfmempagesoutps_20.rrd":sinfMemPageFaultsPS:AVERAGE \
AREA:a#00FF00FF:"Pages Input/Sec\:"  \
GPRINT:a:LAST:"             Current\:%8.3lf"  \
GPRINT:a:AVERAGE:"Average\:%8.3lf"  \
GPRINT:a:MAX:"Maximum\:%8.3lf\n"  \
AREA:b#0000FFFF:"Pages Output/Sec\:":STACK \
GPRINT:b:LAST:"            Current\:%8.3lf"  \
GPRINT:b:AVERAGE:"Average\:%8.3lf"  \
GPRINT:b:MAX:"Maximum\:%8.3lf\n"  \
LINE1:c#FFFF00FF:"Pages/Sec (Hard Page Faults)\:"  \
GPRINT:c:LAST:"Current\:%8.3lf"  \
GPRINT:c:AVERAGE:"Average\:%8.3lf"  \
GPRINT:c:MAX:"Maximum\:%8.3lf\n"  \
COMMENT:"Page Faults/Sec (Hard/Soft)\:"  \
GPRINT:d:LAST:"Current\:%8.3lf"  \
GPRINT:d:AVERAGE:"Average\:%8.3lf"  \
GPRINT:d:MAX:"Maximum\:%8.3lf\n"  \
HRULE:20#3D168BFF:"Pages/Sec Threshold\:" 

Code: Select all

RRDTool Says:

ERROR: reached EOF while loading header rrd->stat_head
Cacti Version 0.8.7d
RRDTool Version RRDTool 1.3.5
Last edited by W01and on Tue May 19, 2009 4:18 am, edited 1 time in total.
ahtshun83
Cacti User
Posts: 95
Joined: Wed Feb 25, 2009 12:23 am

Post by ahtshun83 »

Hi Godsmack & lien,

i still couldnt get the templates imported into my cacti server(CenOS).

I have followed all ur instructions but still failed.

I configured SNMP on the window server,installed SNMP informat v1.6 on the server...is there a service for SNMP informat? I couldnt locate it..

I copy the snmp_informant_*.xml files var/www/html/cacti/resource/snmp_queries directory. Then i import all w32_*.xml files into the cacti web interface...no message indicate whether successful or not..

anyone can help me?

lien,
is ur user guide ready?
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

Have you actually installed the SNMP service on your windows server as well?
ahtshun83
Cacti User
Posts: 95
Joined: Wed Feb 25, 2009 12:23 am

Post by ahtshun83 »

G0dSmack wrote:Have you actually installed the SNMP service on your windows server as well?
yes i have installed SNMP service..there are two services called SNMP Service and SNMP Trap Service.

here are the steps how i installed SNMP on window(which will be monitored by Cacti on CentOS 5.2)
1. go to add/remove program. click add/remove window components
2.select "management & monitoring tools" Click details,select "Simple Network Management protocol"

pls correct me if i am wrong...

pls help!!

FYI:my cacti on centOS 5.2 is running on VMWare server which installed on Window 2003 Server.
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

Have you configured the security settings on the snmp service to allow your cacti box to communicate with it? Also configured the snmp service settings to set the community string?
ahtshun83
Cacti User
Posts: 95
Joined: Wed Feb 25, 2009 12:23 am

Post by ahtshun83 »

G0dSmack wrote:Have you configured the security settings on the snmp service to allow your cacti box to communicate with it? Also configured the snmp service settings to set the community string?
hi godsmack,

I have already configured the security & community.when i create a new device to monitor this Win2k3 machine,i use snmp version 2.

here is how i configure the security.
1. go to service,right click on snmp service.go to traps tab. key in the community name and click add to list
2. click on security tab, add community name with "read,write" access
3. add the cacti ip under "Accept the snmp packets from these hosts"

correct me if i am wrong

pls help!Thank you!!
reitcac
Posts: 2
Joined: Fri May 22, 2009 5:52 am

Post by reitcac »

Hi, G0dSmack. Thanks for your templates.

When I use your templates to monitor a Win2k3 Server(Chinese version) with 2 nics, there is something wrong. I can't see the traffic of the two nics, only traffic of the loopback.
Attachments
1.jpg
1.jpg (40.27 KiB) Viewed 21716 times
2.jpg
2.jpg (40.27 KiB) Viewed 21716 times
3.jpg
3.jpg (43.39 KiB) Viewed 21716 times
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

Anyone else having issues monitoring NICS? I have come across one particular NIC I cannot get information from and it is an HP NC373i. All others seem to work fine.
ahtshun83
Cacti User
Posts: 95
Joined: Wed Feb 25, 2009 12:23 am

Post by ahtshun83 »

hi godsmack,

pls assist me....i just need to monitor window server memory..

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

SNMP - Informant Disk Statistics Unknown type = ''

Post by james.waite »

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
ahtshun83
Cacti User
Posts: 95
Joined: Wed Feb 25, 2009 12:23 am

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

Post by ahtshun83 »

Hi James,

Would you able to provide step by step on how did u manage to import the templates into your cacti box?

I have tried many times but failed without error..
I installed cacti on CentOS 5.2 running inside VMWare server on win2k3.

i just need to monitor Win2k3 memory...pls assist!!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests