[SOLVED] Missing some data for partition disk graph
Moderators: Developers, Moderators
-
- Posts: 6
- Joined: Mon Jan 21, 2008 4:22 am
[SOLVED] Missing some data for partition disk graph
Hello all,
I wanted to graph partition disk on Linux system. I create my own data template and some of them work well. The problem is that 2 of them don't give me any data.
On my system i've got 5 partitions and i can't graph availableDisk for the 2 last partition
In snmpd.conf, i've declared ma partition.
Here the df -k command result :
Filesystem 1K-blocks Used Available Use % Mounted on
/dev/sda7 2063504 580128 1378556 30% /
/dev/sda1 101089 15034 80836 16% /boot
/dev/sda6 2063504 40028 1918656 3% /home
/dev/sda2 8254272 797536 7037440 11% /opt
none 512556 0 512556 0% /dev/shm
/dev/sda3 8254272 1410844 6424132 19% /var
i use this OID to recover data : .1.3.6.1.4.1.2021.9.1.7.xx where x is the index of my partition for available disk and this .1.3.6.1.4.1.2021.9.1.8.xx for used disk.
When i run a snmpwalk on this server, i can see all values.
UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1
UCD-SNMP-MIB::dskIndex.2 = INTEGER: 2
UCD-SNMP-MIB::dskIndex.3 = INTEGER: 3
UCD-SNMP-MIB::dskIndex.4 = INTEGER: 4
UCD-SNMP-MIB::dskIndex.5 = INTEGER: 5
UCD-SNMP-MIB::dskPath.1 = STRING: /
UCD-SNMP-MIB::dskPath.2 = STRING: /boot
UCD-SNMP-MIB::dskPath.3 = STRING: /home
UCD-SNMP-MIB::dskPath.4 = STRING: /opt
UCD-SNMP-MIB::dskPath.5 = STRING: /var
UCD-SNMP-MIB::dskDevice.1 = STRING: /dev/sda7
UCD-SNMP-MIB::dskDevice.2 = STRING: /dev/sda1
UCD-SNMP-MIB::dskDevice.3 = STRING: /dev/sda6
UCD-SNMP-MIB::dskDevice.4 = STRING: /dev/sda2
UCD-SNMP-MIB::dskDevice.5 = STRING: /dev/sda3
UCD-SNMP-MIB::dskMinimum.1 = INTEGER: 100000
UCD-SNMP-MIB::dskMinimum.2 = INTEGER: 100000
UCD-SNMP-MIB::dskMinimum.3 = INTEGER: 100000
UCD-SNMP-MIB::dskMinimum.4 = INTEGER: 100000
UCD-SNMP-MIB::dskMinimum.5 = INTEGER: 100000
UCD-SNMP-MIB::dskMinPercent.1 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.2 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.3 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.4 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.5 = INTEGER: -1
UCD-SNMP-MIB::dskTotal.1 = INTEGER: 2063504
UCD-SNMP-MIB::dskTotal.2 = INTEGER: 101089
UCD-SNMP-MIB::dskTotal.3 = INTEGER: 2063504
UCD-SNMP-MIB::dskTotal.4 = INTEGER: 8254272
UCD-SNMP-MIB::dskTotal.5 = INTEGER: 8254272
UCD-SNMP-MIB::dskAvail.1 = INTEGER: 1378556
UCD-SNMP-MIB::dskAvail.2 = INTEGER: 80836
UCD-SNMP-MIB::dskAvail.3 = INTEGER: 1918656
UCD-SNMP-MIB::dskAvail.4 = INTEGER: 7037440
UCD-SNMP-MIB::dskAvail.5 = INTEGER: 6423640
UCD-SNMP-MIB::dskUsed.1 = INTEGER: 580128
UCD-SNMP-MIB::dskUsed.2 = INTEGER: 15034
UCD-SNMP-MIB::dskUsed.3 = INTEGER: 40028
UCD-SNMP-MIB::dskUsed.4 = INTEGER: 797536
UCD-SNMP-MIB::dskUsed.5 = INTEGER: 1411336
What is worng in my case??
Thanks
Morgan
I wanted to graph partition disk on Linux system. I create my own data template and some of them work well. The problem is that 2 of them don't give me any data.
On my system i've got 5 partitions and i can't graph availableDisk for the 2 last partition
In snmpd.conf, i've declared ma partition.
Here the df -k command result :
Filesystem 1K-blocks Used Available Use % Mounted on
/dev/sda7 2063504 580128 1378556 30% /
/dev/sda1 101089 15034 80836 16% /boot
/dev/sda6 2063504 40028 1918656 3% /home
/dev/sda2 8254272 797536 7037440 11% /opt
none 512556 0 512556 0% /dev/shm
/dev/sda3 8254272 1410844 6424132 19% /var
i use this OID to recover data : .1.3.6.1.4.1.2021.9.1.7.xx where x is the index of my partition for available disk and this .1.3.6.1.4.1.2021.9.1.8.xx for used disk.
When i run a snmpwalk on this server, i can see all values.
UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1
UCD-SNMP-MIB::dskIndex.2 = INTEGER: 2
UCD-SNMP-MIB::dskIndex.3 = INTEGER: 3
UCD-SNMP-MIB::dskIndex.4 = INTEGER: 4
UCD-SNMP-MIB::dskIndex.5 = INTEGER: 5
UCD-SNMP-MIB::dskPath.1 = STRING: /
UCD-SNMP-MIB::dskPath.2 = STRING: /boot
UCD-SNMP-MIB::dskPath.3 = STRING: /home
UCD-SNMP-MIB::dskPath.4 = STRING: /opt
UCD-SNMP-MIB::dskPath.5 = STRING: /var
UCD-SNMP-MIB::dskDevice.1 = STRING: /dev/sda7
UCD-SNMP-MIB::dskDevice.2 = STRING: /dev/sda1
UCD-SNMP-MIB::dskDevice.3 = STRING: /dev/sda6
UCD-SNMP-MIB::dskDevice.4 = STRING: /dev/sda2
UCD-SNMP-MIB::dskDevice.5 = STRING: /dev/sda3
UCD-SNMP-MIB::dskMinimum.1 = INTEGER: 100000
UCD-SNMP-MIB::dskMinimum.2 = INTEGER: 100000
UCD-SNMP-MIB::dskMinimum.3 = INTEGER: 100000
UCD-SNMP-MIB::dskMinimum.4 = INTEGER: 100000
UCD-SNMP-MIB::dskMinimum.5 = INTEGER: 100000
UCD-SNMP-MIB::dskMinPercent.1 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.2 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.3 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.4 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.5 = INTEGER: -1
UCD-SNMP-MIB::dskTotal.1 = INTEGER: 2063504
UCD-SNMP-MIB::dskTotal.2 = INTEGER: 101089
UCD-SNMP-MIB::dskTotal.3 = INTEGER: 2063504
UCD-SNMP-MIB::dskTotal.4 = INTEGER: 8254272
UCD-SNMP-MIB::dskTotal.5 = INTEGER: 8254272
UCD-SNMP-MIB::dskAvail.1 = INTEGER: 1378556
UCD-SNMP-MIB::dskAvail.2 = INTEGER: 80836
UCD-SNMP-MIB::dskAvail.3 = INTEGER: 1918656
UCD-SNMP-MIB::dskAvail.4 = INTEGER: 7037440
UCD-SNMP-MIB::dskAvail.5 = INTEGER: 6423640
UCD-SNMP-MIB::dskUsed.1 = INTEGER: 580128
UCD-SNMP-MIB::dskUsed.2 = INTEGER: 15034
UCD-SNMP-MIB::dskUsed.3 = INTEGER: 40028
UCD-SNMP-MIB::dskUsed.4 = INTEGER: 797536
UCD-SNMP-MIB::dskUsed.5 = INTEGER: 1411336
What is worng in my case??
Thanks
Morgan
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Re: Missing some data for partition disk graph
Him_o_r_g_a_n wrote:I wanted to graph partition disk on Linux system. I create my own data template and some of them work well. The problem is that 2 of them don't give me any data.
have you tried to use the "ucd/net - Get Monitored Partitions" data query ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
-
- Posts: 6
- Joined: Mon Jan 21, 2008 4:22 am
Yes, I've already tried this solution. I don't how it works but when i run verbose query, with all data in input mode ( i've changed this in the XML file), all data are here but the graph don't run!! So i decided to create wy own graph with my own data template!!
If you have any solution? in data template mode or data query!!
If you have any solution? in data template mode or data query!!
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Which Cacti version are you using ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
-
- Posts: 6
- Joined: Mon Jan 21, 2008 4:22 am
-
- Posts: 6
- Joined: Mon Jan 21, 2008 4:22 am
In fact my 2 partitions have 8.0G total space so i've tested something : i've created a 3GB file and free space and used space are both graphed. But i continued with a 5GB file and cacti don't graph the partition the used partition anymore.
How can i configure cacti to resolve this size problem?
Thanks
How can i configure cacti to resolve this size problem?
Thanks
Cacti 0.8.7a
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Can you retry with the original data query ?m_o_r_g_a_n wrote:Yes, I've already tried this solution. I don't how it works but when i run verbose query, with all data in input mode ( i've changed this in the XML file), all data are here but the graph don't run!! So i decided to create wy own graph with my own data template!!
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
-
- Posts: 6
- Joined: Mon Jan 21, 2008 4:22 am
Who is online
Users browsing this forum: No registered users and 1 guest