Host MIB - Available Disk Space / not making graph
Moderators: Developers, Moderators
Host MIB - Available Disk Space / not making graph
I have installed version 0.8.6c and everything is working great except graphing disk space on windows 2003 server machines, they show up as broken links because no rrd files are being genrated. If I do a manual snmpwalk I get all the info, and if I click on (verbose query) I get:
Data Query Debug Information
+ Running data query [8].
+ Found type = '6 '[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 server.domain.org public 2 6 index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php server.domain.org public 2 6 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='6'] index: 6
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php server.domain.org public 2 6 query description'
+ Found item [hrStorageDescr='A:'] index: 1
+ Found item [hrStorageDescr='C: Label:Dell Server Serial Number '] index: 2
+ Found item [hrStorageDescr='D:'] index: 3
+ Found item [hrStorageDescr='E: Label:San Share on server Serial Number '] index: 4
+ Found item [hrStorageDescr='Virtual Memory'] index: 5
+ Found item [hrStorageDescr='Physical Memory'] index: 6
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php server.domain.org public 2 6 query sau'
+ Found item [hrStorageAllocationUnits='0 Bytes'] index: 1
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 2
+ Found item [hrStorageAllocationUnits='0 Bytes'] index: 3
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 4
+ Found item [hrStorageAllocationUnits='65536 Bytes'] index: 5
+ Found item [hrStorageAllocationUnits='65536 Bytes'] index: 6
+ 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'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
My server is running Fedora 3 x86_64 and I get all the local disk space fine, all remote windows servers are reporting CPU and network fine, just no disk space.
Does anyone have any tips for me?
Thanks for the help
Jeff
Data Query Debug Information
+ Running data query [8].
+ Found type = '6 '[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 server.domain.org public 2 6 index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php server.domain.org public 2 6 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='6'] index: 6
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php server.domain.org public 2 6 query description'
+ Found item [hrStorageDescr='A:'] index: 1
+ Found item [hrStorageDescr='C: Label:Dell Server Serial Number '] index: 2
+ Found item [hrStorageDescr='D:'] index: 3
+ Found item [hrStorageDescr='E: Label:San Share on server Serial Number '] index: 4
+ Found item [hrStorageDescr='Virtual Memory'] index: 5
+ Found item [hrStorageDescr='Physical Memory'] index: 6
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php server.domain.org public 2 6 query sau'
+ Found item [hrStorageAllocationUnits='0 Bytes'] index: 1
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 2
+ Found item [hrStorageAllocationUnits='0 Bytes'] index: 3
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 4
+ Found item [hrStorageAllocationUnits='65536 Bytes'] index: 5
+ Found item [hrStorageAllocationUnits='65536 Bytes'] index: 6
+ 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'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
My server is running Fedora 3 x86_64 and I get all the local disk space fine, all remote windows servers are reporting CPU and network fine, just no disk space.
Does anyone have any tips for me?
Thanks for the help
Jeff
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Try increasing the timeout to 2000 ms for that host.
Also, turn logging to Debug and review you cacti.log. This will probably give you and indication of what is goign wrong.
Also, turn logging to Debug and review you cacti.log. This will probably give you and indication of what is goign wrong.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
If I run cmd.php from a command line the output looks like this for the disk:
03/17/2005 12:17:16 PM - CMDPHP: Poller[0] Host[11] SERVER: /var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk server.domain.org 1 11 get total 2, output: 64428617728
isnt this value supposed to be written to the database? Then the graphs are built from that? What table does it go to so I can check to see if there is any data there. I don't see any mysql errors or unusual http errors.
Thanks for all the help
Jeff
03/17/2005 12:17:16 PM - CMDPHP: Poller[0] Host[11] SERVER: /var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk server.domain.org 1 11 get total 2, output: 64428617728
isnt this value supposed to be written to the database? Then the graphs are built from that? What table does it go to so I can check to see if there is any data there. I don't see any mysql errors or unusual http errors.
Thanks for all the help
Jeff
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Please post your whole cacti.log with debugging level turned on.
Also, make sure you are running poller.php and not cmd.php. poller.php is the one that handles the updating of the rrd's.
Also, make sure you are running poller.php and not cmd.php. poller.php is the one that handles the updating of the rrd's.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
If I run poller.php I get this error for all the systems that I am wanting disk space from:
ERROR: Duplicate DS name: hdd_total
03/18/2005 02:18:27 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /v
ar/www/html/cacti/rra/dallas_hdd_total_86.rrd --template hdd_total:hdd_used N:21
4539943936:208822272
Any Ideas?
Thanks,
Jeff
ERROR: Duplicate DS name: hdd_total
03/18/2005 02:18:27 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /v
ar/www/html/cacti/rra/dallas_hdd_total_86.rrd --template hdd_total:hdd_used N:21
4539943936:208822272
Any Ideas?
Thanks,
Jeff
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
What was the line proceeding the Duplicate DS error?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
03/18/2005 02:18:27 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /v
ar/www/html/cacti/rra/dallas_hdd_total_86.rrd --step 300 DS:hdd_total:GAUGE:
600:0:U DS:hdd_used:GAUGE:600:0:U DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUG
E:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775
RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:7
75 RRA:MAX:0.5:288:797
ERROR: Duplicate DS name: hdd_total
ar/www/html/cacti/rra/dallas_hdd_total_86.rrd --step 300 DS:hdd_total:GAUGE:
600:0:U DS:hdd_used:GAUGE:600:0:U DS:hdd_total:GAUGE:600:0:U DS:hdd_used:GAUG
E:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775
RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:7
75 RRA:MAX:0.5:288:797
ERROR: Duplicate DS name: hdd_total
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Hi,
You need to goto the following data template:
Host MIB - Hard Drive Space
Edit it. You should get a graphic as shown below. You need to delete all but the following data source ID's, 78, 92. You can get the id's by hovinging over the RED "X"'s and checking the status bar.
I am very interested. Did you import any "Templates" lately?
TheWitness
You need to goto the following data template:
Host MIB - Hard Drive Space
Edit it. You should get a graphic as shown below. You need to delete all but the following data source ID's, 78, 92. You can get the id's by hovinging over the RED "X"'s and checking the status bar.
I am very interested. Did you import any "Templates" lately?
TheWitness
Last edited by TheWitness on Mon Mar 21, 2005 7:40 pm, edited 1 time in total.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please read me post 3 back. Otherwise, I suggest you open a clean thread.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Make a clean install into a separate database then create a copy of your current configuration (less rrd files). Then export the template from that instance and then import it into Cacti again.
I hope that helps. If you are not backing up your database, then you may be stuck.
TheWitness
I hope that helps. If you are not backing up your database, then you may be stuck.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 0 guests