[Solved] Monitoring Mount Point on HP Proliant DL Server
Moderators: Developers, Moderators
[Solved] Monitoring Mount Point on HP Proliant DL Server
I want to monitor this mount point on my HP server
/
/opt
/sysimg
/var
The DataQuery 'SNMP - Get Mounted Partitions' work fine give me the all mount point of my server; perfect .
Data Query Debug Information
+ Running data query [8].
+ Found type = '4 '[script query].
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 46 1:161:500:1:10:public:::::: index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 46 1:161:500:1:10:public:::::: query index'
+ Found item [hrStorageIndex='1'] index: 1
+ Found item [hrStorageIndex='2'] index: 2
+ Found item [hrStorageIndex='3'] index: 3
+ Found item [hrStorageIndex='4'] index: 4
+ Found item [hrStorageIndex='5'] index: 5
+ Found item [hrStorageIndex='101'] index: 101
+ Found item [hrStorageIndex='102'] index: 102
+ Found item [hrStorageIndex='103'] index: 103
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 46 1:161:500:1:10:public:::::: query description'
+ Found item [hrStorageDescr='/'] index: 1
+ Found item [hrStorageDescr='/boot'] index: 2
+ Found item [hrStorageDescr='/opt'] index: 3
+ Found item [hrStorageDescr='/sysimg'] index: 4
+ Found item [hrStorageDescr='/var'] index: 5
+ Found item [hrStorageDescr='Real Memory'] index: 101
+ Found item [hrStorageDescr='Swap Space'] index: 102
+ Found item [hrStorageDescr='Memory Buffers'] index: 103
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 46 1:161:500:1:10:public:::::: query sau'
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 1
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 2
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 3
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 4
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 5
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 101
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 102
+ Found item [hrStorageAllocationUnits='256 Bytes'] index: 103
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
In the Menu Collection Methods>Data Queries>(edit) 'SNMP - Get Mounted Partitions', i try to associate this Dataquery to this 2 templates without any result ( empty graph with nan, Empty result error and Problems parsing Multi SNMP OID error )
The Dataquery Configuration :
Name: SNMP - Get Mounted Partitions
Description: Gets a list of partitions using SNMP
XML Path: <path_cacti>/resource/script_server/host_disk.xml
Data Input Method: Get Script Data (indexed)
The 2 Graph template i have tested to associate with Dataqueries 'SNMP - Get Mounted Partitions :
Name: Available Disk Space
Graph Template Name: Host MIB - Available Disk Space
Data Source: hdd_total HrStorageSize (Total Size)
Data Source: hdd_used HrStorageSize (Total Size)
Suggested Values: |host_description| - Free Space - |query_hrStorageDescr| name
Suggested Values: |host_description| - Free Space - |query_hrStorageDescr| title
Name Available Disk Space
Graph Template Name: Unix Available Disk Space
Data Source: hdd_total HrStorageSize (Total Size)
Data Source: hdd_used HrStorageSize (Total Size)
Suggested Values: |host_description| - Free Space - |query_hrStorageDescr| name
Suggested Values: |host_description| - Free Space - |query_hrStorageDescr| title
Must i associate the dataquery to a more adapted Graph Template or is it a configuration problem ?
I really appreciate your help if your have an idea .
Gilles
/
/opt
/sysimg
/var
The DataQuery 'SNMP - Get Mounted Partitions' work fine give me the all mount point of my server; perfect .
Data Query Debug Information
+ Running data query [8].
+ Found type = '4 '[script query].
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 46 1:161:500:1:10:public:::::: index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 46 1:161:500:1:10:public:::::: query index'
+ Found item [hrStorageIndex='1'] index: 1
+ Found item [hrStorageIndex='2'] index: 2
+ Found item [hrStorageIndex='3'] index: 3
+ Found item [hrStorageIndex='4'] index: 4
+ Found item [hrStorageIndex='5'] index: 5
+ Found item [hrStorageIndex='101'] index: 101
+ Found item [hrStorageIndex='102'] index: 102
+ Found item [hrStorageIndex='103'] index: 103
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 46 1:161:500:1:10:public:::::: query description'
+ Found item [hrStorageDescr='/'] index: 1
+ Found item [hrStorageDescr='/boot'] index: 2
+ Found item [hrStorageDescr='/opt'] index: 3
+ Found item [hrStorageDescr='/sysimg'] index: 4
+ Found item [hrStorageDescr='/var'] index: 5
+ Found item [hrStorageDescr='Real Memory'] index: 101
+ Found item [hrStorageDescr='Swap Space'] index: 102
+ Found item [hrStorageDescr='Memory Buffers'] index: 103
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 46 1:161:500:1:10:public:::::: query sau'
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 1
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 2
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 3
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 4
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 5
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 101
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 102
+ Found item [hrStorageAllocationUnits='256 Bytes'] index: 103
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
In the Menu Collection Methods>Data Queries>(edit) 'SNMP - Get Mounted Partitions', i try to associate this Dataquery to this 2 templates without any result ( empty graph with nan, Empty result error and Problems parsing Multi SNMP OID error )
The Dataquery Configuration :
Name: SNMP - Get Mounted Partitions
Description: Gets a list of partitions using SNMP
XML Path: <path_cacti>/resource/script_server/host_disk.xml
Data Input Method: Get Script Data (indexed)
The 2 Graph template i have tested to associate with Dataqueries 'SNMP - Get Mounted Partitions :
Name: Available Disk Space
Graph Template Name: Host MIB - Available Disk Space
Data Source: hdd_total HrStorageSize (Total Size)
Data Source: hdd_used HrStorageSize (Total Size)
Suggested Values: |host_description| - Free Space - |query_hrStorageDescr| name
Suggested Values: |host_description| - Free Space - |query_hrStorageDescr| title
Name Available Disk Space
Graph Template Name: Unix Available Disk Space
Data Source: hdd_total HrStorageSize (Total Size)
Data Source: hdd_used HrStorageSize (Total Size)
Suggested Values: |host_description| - Free Space - |query_hrStorageDescr| name
Suggested Values: |host_description| - Free Space - |query_hrStorageDescr| title
Must i associate the dataquery to a more adapted Graph Template or is it a configuration problem ?
I really appreciate your help if your have an idea .
Gilles
Last edited by Gilles.29 on Wed Aug 19, 2009 8:22 am, edited 1 time in total.
Why do you want to associate it with another template? What are you trying to accomplish?
To change it, yes, you must add it to another graph template (which in tern, is tied to a data template).
To change it, yes, you must add it to another graph template (which in tern, is tied to a data template).
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I follow the Cacti Manual which refers that the data query must have at least one graph template associated with it.BSOD2600 wrote:Why do you want to associate it with another template? What are you trying to accomplish?
http://www.cacti.net/downloads/docs/htm ... eries.html
I just want to monitor simply a mount point on HP Linux Server with SNMP because i don't find HP proliant DL graph Template .BSOD2600 wrote:What are you trying to accomplish?
The snmpwalk command give me correct values of the mount point.
$ snmpwalk -c public -v 2c 10.xx.xx.xx hrStorageSize
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 10233496
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 10233496
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 2097128
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 253922
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 25037914
HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 1269660
HOST-RESOURCES-MIB::hrStorageSize.8 = INTEGER: 2539342
HOST-RESOURCES-MIB::hrStorageSize.9 = INTEGER: 5078687
HOST-RESOURCES-MIB::hrStorageSize.10 = INTEGER: 99134
HOST-RESOURCES-MIB::hrStorageSize.11 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.12 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.13 = INTEGER: 15020852
HOST-RESOURCES-MIB::hrStorageSize.14 = INTEGER: 15020852
HOST-RESOURCES-MIB::hrStorageSize.15 = INTEGER: 43203233
HOST-RESOURCES-MIB::hrStorageSize.16 = INTEGER: 0
I try now to change the max SD of a rrdfile because the SD max could be created with default value ( 100) .
$ rrdtool info xx_hdd_free_519.rrd
filename = "xx_hdd_free_519.rrd"
rrd_version = "0003"
step = 300
last_update = 1250246701
ds[hdd_free].type = "GAUGE"
ds[hdd_free].minimal_heartbeat = 600
ds[hdd_free].min = 0.0000000000e+00
ds[hdd_free].max = NaN
ds[hdd_free].last_ds = "U"
ds[hdd_free].value = NaN
ds[hdd_free].unknown_sec = 1
ds[hdd_used].type = "GAUGE"
ds[hdd_used].minimal_heartbeat = 600
ds[hdd_used].min = 0.0000000000e+00
ds[hdd_used].max = NaN
ds[hdd_used].last_ds = "U"
ds[hdd_used].value = NaN
ds[hdd_used].unknown_sec = 1
$ rrdtool tune xx_hdd_free_518.rrd --maximum hdd_free 1.0000000000e+08
$ rrdtool tune xx_hdd_free_518.rrd --maximum hdd_used:1.0000000000e+08
$ rrdtool tune pls02-my_hdd_free_518.rrd
DS[hdd_free] typ: GAUGE hbt: 600 min: 0.0000 max: 100000000.0000
DS[hdd_used] typ: GAUGE hbt: 600 min: 0.0000 max: 100000000.0000
$ snmpwalk -c public -v 2c 10.xx.xx.xx hrStorageSize
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 10233496
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 10233496
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 2097128
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 253922
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 25037914
HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 1269660
HOST-RESOURCES-MIB::hrStorageSize.8 = INTEGER: 2539342
HOST-RESOURCES-MIB::hrStorageSize.9 = INTEGER: 5078687
HOST-RESOURCES-MIB::hrStorageSize.10 = INTEGER: 99134
HOST-RESOURCES-MIB::hrStorageSize.11 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.12 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.13 = INTEGER: 15020852
HOST-RESOURCES-MIB::hrStorageSize.14 = INTEGER: 15020852
HOST-RESOURCES-MIB::hrStorageSize.15 = INTEGER: 43203233
HOST-RESOURCES-MIB::hrStorageSize.16 = INTEGER: 0
I try now to change the max SD of a rrdfile because the SD max could be created with default value ( 100) .
$ rrdtool info xx_hdd_free_519.rrd
filename = "xx_hdd_free_519.rrd"
rrd_version = "0003"
step = 300
last_update = 1250246701
ds[hdd_free].type = "GAUGE"
ds[hdd_free].minimal_heartbeat = 600
ds[hdd_free].min = 0.0000000000e+00
ds[hdd_free].max = NaN
ds[hdd_free].last_ds = "U"
ds[hdd_free].value = NaN
ds[hdd_free].unknown_sec = 1
ds[hdd_used].type = "GAUGE"
ds[hdd_used].minimal_heartbeat = 600
ds[hdd_used].min = 0.0000000000e+00
ds[hdd_used].max = NaN
ds[hdd_used].last_ds = "U"
ds[hdd_used].value = NaN
ds[hdd_used].unknown_sec = 1
$ rrdtool tune xx_hdd_free_518.rrd --maximum hdd_free 1.0000000000e+08
$ rrdtool tune xx_hdd_free_518.rrd --maximum hdd_used:1.0000000000e+08
$ rrdtool tune pls02-my_hdd_free_518.rrd
DS[hdd_free] typ: GAUGE hbt: 600 min: 0.0000 max: 100000000.0000
DS[hdd_used] typ: GAUGE hbt: 600 min: 0.0000 max: 100000000.0000
Hi,
Look at the query results. The hrStorageAllocationUnits have things with "Bytes" appended: '4096 Bytes'. This causes a CDEF error. Look at the graph debugging from on of your graphs to see that.
Here is a fix for your <CACTI>/resource/snmp_queries/host_disk.xml:
Look at the query results. The hrStorageAllocationUnits have things with "Bytes" appended: '4096 Bytes'. This causes a CDEF error. Look at the graph debugging from on of your graphs to see that.
Here is a fix for your <CACTI>/resource/snmp_queries/host_disk.xml:
diff -C3 host_disk.xml.orig host_disk.xml
*** host_disk.xml.orig 2009-02-11 21:55:46.000000000 -0500
--- host_disk.xml 2009-08-14 14:55:01.000000000 -0400
***************
*** 21,27 ****
<hrStorageAllocationUnits>
<name>Storage Allocation Units</name>
<method>walk</method>
! <source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.25.2.3.1.4</oid>
</hrStorageAllocationUnits>
--- 21,27 ----
<hrStorageAllocationUnits>
<name>Storage Allocation Units</name>
<method>walk</method>
! <source>VALUE/REGEXP:([0-9]*) Bytes</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.25.2.3.1.4</oid>
</hrStorageAllocationUnits>
I'am back to my office now
i have changed host_disk.xml file and check now the cacti log.
Here the result of the graphe debug Mode of the mount point /home
Is there possibility of OID conflict or corrupted oid in cacti who could generate this error ?
I have set the 'Maximum OID's Per Get Request' of this host to 1 but how to isole bad oid ? in view SNMP Cache ?
The View SNMP Cache :
i have changed host_disk.xml file and check now the cacti log.
Code: Select all
$snmpwalk -c public -v 2c 10xx .1.3.6.1.2.1.25.2.3.1.4
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.8 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.9 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.10 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.11 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.12 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.13 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.14 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.15 = INTEGER: 32768 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.16 = INTEGER: 4096 Bytes
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="pls03xx - Free Space - /home " \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/html/cacti/rra/pls03xx_hdd_used_506.rrd":hdd_total:AVERAGE \
DEF:b="/var/www/html/cacti/rra/pls03xx_hdd_used_506.rrd":hdd_used:AVERAGE \
AREA:a#002A97FF:"Total" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
AREA:b#F51D30FF:"Used" \
GPRINT:b:LAST:" Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:OK
Code: Select all
08/17/2009 11:15:01 AM - SPINE: Poller[0] Host[42] ERROR: Problems parsing Multi SNMP OID! (oid: ), Set MAX_OIDS to 1 for this host to isolate bad OID
08/17/2009 11:15:01 AM - SPINE: Poller[0] Host[42] DS[508] SNMP: v1: 10.xx, dsname: hdd_used, oid: , value: U
08/17/2009 11:15:01 AM - SPINE: Poller[0] Host[42] ERROR: Problems parsing Multi SNMP OID! (oid: ), Set MAX_OIDS to 1 for this host to isolate bad OID
08/17/2009 11:15:01 AM - SPINE: Poller[0] Host[42] DS[507] SNMP: v1: 10.xx, dsname: hdd_used, oid: , value: U
08/17/2009 11:15:01 AM - SPINE: Poller[0] Host[42] ERROR: Problems parsing Multi SNMP OID! (oid: ), Set MAX_OIDS to 1 for this host to isolate bad OID
08/17/2009 11:15:01 AM - SPINE: Poller[0] Host[42] DS[506] SNMP: v1: 10.xx, dsname: hdd_used, oid: , value: U
08/17/2009 11:15:01 AM - SPINE: Poller[0] Host[42] ERROR: Problems parsing Multi SNMP OID! (oid: ), Set MAX_OIDS to 1 for this host to isolate bad OID
08/17/2009 11:15:01 AM - SPINE: Poller[0] Host[42] DS[505] SNMP: v1: 10.xx, dsname: hdd_used, oid: , value: U
08/17/2009 11:15:01 AM - SPINE: Poller[0] Host[42] ERROR: Problems parsing Multi SNMP OID! (oid: ), Set MAX_OIDS to 1 for this host to isolate bad OID
08/17/2009 11:15:01 AM - SPINE: Poller[0] Host[42] DS[504] SNMP: v1: 10.xx, dsname: hdd_used, oid: , value: U
08/17/2009 11:15:01 AM - SPINE: Poller[0] Host[42] ERROR: Problems parsing Multi SNMP OID! (oid: ), Set MAX_OIDS to 1 for this host to isolate bad OID
08/17/2009 11:15:01 AM - SPINE: Poller[0] Host[42] NOTE: There are '6' Polling Items for this Host
The View SNMP Cache :
Code: Select all
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 1 , Field Name: hrStorageAllocationUnits , Field Value: Linux pls03xx 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 10 , Field Name: hrStorageAllocationUnits , Field Value: OID: .1.3.6.1.2.1.4
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 11 , Field Name: hrStorageAllocationUnits , Field Value: OID: .1.3.6.1.2.1.50
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 12 , Field Name: hrStorageAllocationUnits , Field Value: OID: .1.3.6.1.6.3.16.2.2.1
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 13 , Field Name: hrStorageAllocationUnits , Field Value: OID: .1.3.6.1.6.3.10.3.1.1
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 14 , Field Name: hrStorageAllocationUnits , Field Value: OID: .1.3.6.1.6.3.11.3.1.1
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 15 , Field Name: hrStorageAllocationUnits , Field Value: OID: .1.3.6.1.6.3.15.2.1.1
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 16 , Field Name: hrStorageAllocationUnits , Field Value: The MIB module for SNMPv2 entities
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 2 , Field Name: hrStorageAllocationUnits , Field Value: OID: .1.3.6.1.4.1.8072.3.2.10
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 3 , Field Name: hrStorageAllocationUnits , Field Value: 83898092
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 4 , Field Name: hrStorageAllocationUnits , Field Value: Root root@localhost (configure /etc/snmp/snmp.local.conf)
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 5 , Field Name: hrStorageAllocationUnits , Field Value: pls03xx
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 6 , Field Name: hrStorageAllocationUnits , Field Value: Unknown (edit /etc/snmp/snmpd.conf)
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 7 , Field Name: hrStorageAllocationUnits , Field Value: 4
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 8 , Field Name: hrStorageAllocationUnits , Field Value: OID: .1.3.6.1.6.3.1
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 9 , Field Name: hrStorageAllocationUnits , Field Value: OID: .1.3.6.1.2.1.49
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 1 , Field Name: hrStorageDescr , Field Value: Memory Buffers
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 10 , Field Name: hrStorageDescr , Field Value: /boot
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 11 , Field Name: hrStorageDescr , Field Value: /proc/sys/fs/binfmt_misc
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 12 , Field Name: hrStorageDescr , Field Value: /var/lib/nfs/rpc_pipefs
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 13 , Field Name: hrStorageDescr , Field Value: /nasxx
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 14 , Field Name: hrStorageDescr , Field Value: /nasxx
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 15 , Field Name: hrStorageDescr , Field Value: /adm01/admin
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 16 , Field Name: hrStorageDescr , Field Value: /proc/fs/nfsd
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 2 , Field Name: hrStorageDescr , Field Value: Real Memory
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 3 , Field Name: hrStorageDescr , Field Value: Swap Space
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 4 , Field Name: hrStorageDescr , Field Value: /
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 5 , Field Name: hrStorageDescr , Field Value: /sys
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 6 , Field Name: hrStorageDescr , Field Value: /home
OID:
Host: pls03xx , SNMP Query: SNMP - Get Mounted Partitions
Index: 7 , Field Name: hrStorageDescr , Field Value: /opt
OID:
Last edited by Gilles.29 on Mon Aug 17, 2009 1:16 pm, edited 2 times in total.
1) what spine version? 0.8.7e is the latest.
2) All of those spine parsing errors, looks to be omitting the OID completely.
3) Post another verbose query of SNMP - Get Mounted Partitions after your XML changes.
2) All of those spine parsing errors, looks to be omitting the OID completely.
3) Post another verbose query of SNMP - Get Mounted Partitions after your XML changes.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Spine was installed with the lasted release 0.8.7e
The host_disk.xml file was changed with this few line
Here the result after 'Create Graphs for this Host' with the template 'Generic SNMP-enabled host'
The nagios log :
The host_disk.xml file was changed with this few line
Code: Select all
<hrStorageAllocationUnits>
<name>Storage Allocation Units</name>
<method>walk</method>
<source>VALUE/REGEXP:([0-9]*) Bytes</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.25.2.3.1.4</oid>
</hrStorageAllocationUnits>
Code: Select all
Data Query [SNMP - Get Mounted Partitions] Reload Associated Query
Index Description Storage Allocation Units
1 Memory Buffers Linux pls03xx 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64
2 Real Memory OID: .1.3.6.1.4.1.8072.3.2.10
3 Swap Space 83898092
4 / Root root@localhost (configure /etc/snmp/snmp.local.conf)
5 /sys pls03-my
6 /home Unknown (edit /etc/snmp/snmpd.conf)
7 /opt 4
8 /var OID: .1.3.6.1.6.3.1
9 /usr OID: .1.3.6.1.2.1.49
10 /boot OID: .1.3.6.1.2.1.4
11 /proc/sys/fs/binfmt_misc OID: .1.3.6.1.2.1.50
12 /var/lib/nfs/rpc_pipefs OID: .1.3.6.1.6.3.16.2.2.1
13 /nas01xx/dataxx OID: .1.3.6.1.6.3.10.3.1.1
14 /nas01xx/confxx OID: .1.3.6.1.6.3.11.3.1.1
15 /adm01/adm OID: .1.3.6.1.6.3.15.2.1.1
16 /proc/fs/nfsd The MIB module for SNMPv2 entities
Code: Select all
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[664] SNMP: v1: 10.xx.xx.xx, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 3428134487
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[658] SCRIPT: /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 8, output: U
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] ERROR: Empty result [10.xx.xx.xx]: '/var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 8'
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[657] SCRIPT: /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 7, output: U
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] ERROR: Empty result [10.xx.xx.xx]: '/var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 7'
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[657] SCRIPT: /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 7, output: U
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] ERROR: Empty result [10.xx.xx.xx]: '/var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 7'
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[656] SCRIPT: /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 6, output: U
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] ERROR: Empty result [10.xx.xx.xx]: '/var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 6'
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[656] SCRIPT: /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 6, output: U
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] ERROR: Empty result [10.xx.xx.xx]: '/var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 6'
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[658] SCRIPT: /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 8, output: U
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] ERROR: Empty result [10.xx.xx.xx]: '/var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 8'
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[659] SCRIPT: /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 9, output: U
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] ERROR: Empty result [10.xx.xx.xx]: '/var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 9'
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[663] SNMP: v1: 10.xx.xx.xx, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: 119564805
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[663] SNMP: v1: 10.xx.xx.xx, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value: 119564805
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[661] SNMP: v1: 10.xx.xx.xx, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, value: 190
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[660] SNMP: v1: 10.xx.xx.xx, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, value: 0
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[664] SNMP: v1: 10.xx.xx.xx, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 3463210966
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[671] SNMP: v1: 10.xx.xx.xx, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, value: 0.00
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[670] SNMP: v1: 10.xx.xx.xx, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, value: 0.00
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[669] SNMP: v1: 10.xx.xx.xx, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, value: 0.00
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[668] SNMP: v1: 10.xx.xx.xx, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, value: 803244
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[667] SNMP: v1: 10.xx.xx.xx, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, value: 905678
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[666] SNMP: v1: 10.xx.xx.xx, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, value: 103651
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[665] SNMP: v1: 10.xx.xx.xx, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, value: 1404261
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[665] SNMP: v1: 10.xx.xx.xx, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, value: 45980232
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[672] SNMP: v1: 10.xx.xx.xx, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, value: 350416
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[674] SNMP: v1: 10.xx.xx.xx, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, value: 8578936
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[673] SNMP: v1: 10.xx.xx.xx, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, value: 907492
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[654] SCRIPT: /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 4, output: U
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] ERROR: Empty result [10.xx.xx.xx]: '/var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 4'
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[655] SCRIPT: /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 5, output: U
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] ERROR: Empty result [10.xx.xx.xx]: '/var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 5'
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[654] SCRIPT: /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 4, output: U
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] ERROR: Empty result [10.xx.xx.xx]: '/var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 4'
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[655] SCRIPT: /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 5, output: U
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] ERROR: Empty result [10.xx.xx.xx]: '/var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 5'
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] DS[659] SCRIPT: /var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 9, output: U
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] ERROR: Empty result [10.xx.xx.xx]: '/var/www/html/cacti/scripts/ss_host_disk.php 10.xx.xx.xx 42 1:161:500:1:1:public:::::: get total 9'
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] NOTE: There are '29' Polling Items for this Host
08/18/2009 04:10:02 PM - SPINE: Poller[0] Host[42] SNMP Result: Host responded to SNMP
'Host MIB - Available Disk Space' data template
'Host MIB - Hard Drive Space' data template
There is a blank in 'Host MIB - Available Disk Space' Data Template so i try now to add this oid .1.3.6.1.2.1.25.2.3.1.4 .
The Grap template 'Host MIB - Hard Drive Space' don't exist; is it normal ?
Is there possibility to import the full default MIB template ( data and graph ) ?
thanks
'Host MIB - Hard Drive Space' data template
There is a blank in 'Host MIB - Available Disk Space' Data Template so i try now to add this oid .1.3.6.1.2.1.25.2.3.1.4 .
The Grap template 'Host MIB - Hard Drive Space' don't exist; is it normal ?
Is there possibility to import the full default MIB template ( data and graph ) ?
thanks
Last edited by Gilles.29 on Wed Aug 19, 2009 4:12 am, edited 2 times in total.
hardcoding OIDs for something which uses changing indexes is a bad idea.Gilles.29 wrote:There is a blank in 'Host MIB - Available Disk Space' Data Template so i try now to add this oid .1.3.6.1.2.1.25.2.3.1.4 .
That is not a default graph template that comes with cacti. There is one called "Host MIB - Available Disk Space".Gilles.29 wrote:The Grap template 'Host MIB - Hard Drive Space' don't exist; is it normal ?
Cacti doesn't use MIB files; it uses the OID number when polling a device. What MIB template are you taking about? If you want the stock templates then create another temp cacti installation, and export the templates you want.Gilles.29 wrote:Is there possibility to import the full default MIB template ( data and graph ) ?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I'am talking about this cacti default data template to resintall or recreat .BSOD2600 wrote: What MIB template are you taking about? If you want the stock templates then create another temp cacti installation, and export the templates you want.
Get SNMP Data Active
Host MIB - Available Disk Space Get SNMP Data Active
Host MIB - CPU Utilization Get SNMP Data Active
Host MIB - Hard Drive Space Get SNMP Data Active
Host MIB - Logged in Users Get SNMP Data Active
Could you valid step by step my cacti configuration if i give you the full list of value for this mount point reporting ( from device to dataqueries to template configuration ) ?
Yessss
i find the solution with this "Disk Space Usage" Template who work fine with my HP servers
http://docs.cacti.net/usertemplate:data ... disk_usage
Special thanks to gandalf the author of this great template, BSOD2600 and smckee for the precious help
i find the solution with this "Disk Space Usage" Template who work fine with my HP servers
http://docs.cacti.net/usertemplate:data ... disk_usage
Special thanks to gandalf the author of this great template, BSOD2600 and smckee for the precious help
Who is online
Users browsing this forum: No registered users and 5 guests