Host MIB - Available Disk Space / not making graph

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

jcoulam
Posts: 18
Joined: Wed Mar 16, 2005 10:29 am
Location: Round Rock, TX

Host MIB - Available Disk Space / not making graph

Post by jcoulam »

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
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

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.
[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]
jcoulam
Posts: 18
Joined: Wed Mar 16, 2005 10:29 am
Location: Round Rock, TX

Post by jcoulam »

I have exteded the timeout up to 60 seconds with no luck. I have also been checking the logs and I don't see any errors.

Still stuck :-?
jcoulam
Posts: 18
Joined: Wed Mar 16, 2005 10:29 am
Location: Round Rock, TX

Post by jcoulam »

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
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

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.
[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]
jcoulam
Posts: 18
Joined: Wed Mar 16, 2005 10:29 am
Location: Round Rock, TX

Post by jcoulam »

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
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

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]
jcoulam
Posts: 18
Joined: Wed Mar 16, 2005 10:29 am
Location: Round Rock, TX

Post by jcoulam »

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
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

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
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?
jcoulam
Posts: 18
Joined: Wed Mar 16, 2005 10:29 am
Location: Round Rock, TX

Post by jcoulam »

Yahoo!! That worked :D

Thanks to all for the assistance!

I have not installed any templates at all, by default there were four tabs there.

Jeff
vicing
Posts: 1
Joined: Wed Mar 23, 2005 10:25 pm

Post by vicing »

I have this problem to, i not may get a disk space on windows2k.
Say anybody, where placed new templates files for import?
alphaone
Posts: 1
Joined: Wed Apr 27, 2005 4:56 pm

Post by alphaone »

me too...

thanks
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please read me post 3 back. Otherwise, I suggest you open a clean thread.

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?
ChupaMe
Posts: 9
Joined: Sat Jun 25, 2005 6:40 am

Post by ChupaMe »

I accidentally deleted the data template with the id 78 and 92. Is there a way to restore them? I tried to create new ones and replaces the new with old id's in the db, but it doesn't work when i try to make a new graph.

delet the whole data template and import a new?

cacti 0.8.6c
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

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
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests