Command done, but I replaced the fqdn with "fqdn_omitted". Server's name is maxwell.

Observium v0.13.4.3934 Discovery

DEBUG!

SQL[SELECT version FROM `dbSchema` ORDER BY version DESC LIMIT 1]
SQL[SELECT revision FROM `dbSchema`]
SQL[SELECT * FROM `devices` WHERE status = 1 AND disabled = 0 AND `hostname` LIKE 'maxwell.fqdn_omitted' ORDER BY device_id DESC]
SQL[SELECT * FROM devices_attribs WHERE `device_id` = '2'] maxwell.fqdn_omitted 2 linux  (unix)
Storage : DEBUG: SNMP Auth options =  -v2c -c public
/usr/bin/snmpbulkwalk  -v2c -c public -OQUs  -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:NetWare-Host-Ext-MIB -M /opt/observium/mibs udp:maxwell.fqdn_omitted:161 hrStorageEntry
hrStorageIndex.1 = 1
hrStorageIndex.3 = 3
hrStorageIndex.6 = 6
hrStorageIndex.7 = 7
hrStorageIndex.10 = 10
hrStorageIndex.31 = 31
hrStorageIndex.32 = 32
hrStorageIndex.33 = 33
hrStorageIndex.34 = 34
hrStorageIndex.36 = 36
hrStorageIndex.37 = 37
hrStorageType.1 = hrStorageRam
hrStorageType.3 = hrStorageVirtualMemory
hrStorageType.6 = hrStorageOther
hrStorageType.7 = hrStorageOther
hrStorageType.10 = hrStorageVirtualMemory
hrStorageType.31 = hrStorageFixedDisk
hrStorageType.32 = hrStorageFixedDisk
hrStorageType.33 = hrStorageFixedDisk
hrStorageType.34 = hrStorageFixedDisk
hrStorageType.36 = hrStorageFixedDisk
hrStorageType.37 = hrStorageFixedDisk
hrStorageDescr.1 = Physical memory
hrStorageDescr.3 = Virtual memory
hrStorageDescr.6 = Memory buffers
hrStorageDescr.7 = Cached memory
hrStorageDescr.10 = Swap space
hrStorageDescr.31 = /
hrStorageDescr.32 = /storage/disk2
hrStorageDescr.33 = /storage/disk3
hrStorageDescr.34 = /storage/disk4
hrStorageDescr.36 = /sys/fs/fuse/connections
hrStorageDescr.37 = /storage/disk1
hrStorageAllocationUnits.1 = 1024
hrStorageAllocationUnits.3 = 1024
hrStorageAllocationUnits.6 = 1024
hrStorageAllocationUnits.7 = 1024
hrStorageAllocationUnits.10 = 1024
hrStorageAllocationUnits.31 = 4096
hrStorageAllocationUnits.32 = 4096
hrStorageAllocationUnits.33 = 4096
hrStorageAllocationUnits.34 = 4096
hrStorageAllocationUnits.36 = 4096
hrStorageAllocationUnits.37 = 4096
hrStorageSize.1 = 4060588
hrStorageSize.3 = 10429860
hrStorageSize.6 = 4060588
hrStorageSize.7 = 2049280
hrStorageSize.10 = 6369272
hrStorageSize.31 = 36891514
hrStorageSize.32 = 240358018
hrStorageSize.33 = 240358018
hrStorageSize.34 = 240358018
hrStorageSize.36 = 0
hrStorageSize.37 = 721070902
hrStorageUsed.1 = 3716088
hrStorageUsed.3 = 3841448
hrStorageUsed.6 = 386788
hrStorageUsed.7 = 2049280
hrStorageUsed.10 = 125360
hrStorageUsed.31 = 4418186
hrStorageUsed.32 = 51526773
hrStorageUsed.33 = 203691014
hrStorageUsed.34 = 59738115
hrStorageUsed.36 = 0
hrStorageUsed.37 = 104155827

DEBUG: SNMP Auth options =  -v2c -c public
/usr/bin/snmpbulkwalk  -v2c -c public -OQUs  -m UCD-SNMP-MIB -M /opt/observium/mibs udp:maxwell.fqdn_omitted:161 dskEntry
dskEntry = No Such Object available on this agent at this OID

hrStorage : Array, 31, hrStorageFixedDisk, hrstorage, /, 4096, 18096889856, , 12 %, 151107641344

SQL[SELECT * FROM `storage` WHERE `storage_index` = '31' AND `device_id` = '2' AND `storage_mib` = 'hrstorage']
SQL[UPDATE `storage` set `storage_descr` ='/',`storage_type` ='hrStorageFixedDisk',`storage_units` ='4096',`storage_size` ='151107641344' WHERE `device_id` = '2' AND `storage_index` = '31' AND `storage_mib` = 'hrstorage'] .Array, 32, hrStorageFixedDisk, hrstorage, /storage/disk2, 4096, 211053662208, , 21 %, 984506441728

SQL[SELECT * FROM `storage` WHERE `storage_index` = '32' AND `device_id` = '2' AND `storage_mib` = 'hrstorage']
SQL[UPDATE `storage` set `storage_descr` ='/storage/disk2',`storage_type` ='hrStorageFixedDisk',`storage_units` ='4096',`storage_size` ='984506441728' WHERE `device_id` = '2' AND `storage_index` = '32' AND `storage_mib` = 'hrstorage'] .Array, 33, hrStorageFixedDisk, hrstorage, /storage/disk3, 4096, 834318393344, , 85 %, 984506441728

SQL[SELECT * FROM `storage` WHERE `storage_index` = '33' AND `device_id` = '2' AND `storage_mib` = 'hrstorage']
SQL[UPDATE `storage` set `storage_descr` ='/storage/disk3',`storage_type` ='hrStorageFixedDisk',`storage_units` ='4096',`storage_size` ='984506441728' WHERE `device_id` = '2' AND `storage_index` = '33' AND `storage_mib` = 'hrstorage'] .Array, 34, hrStorageFixedDisk, hrstorage, /storage/disk4, 4096, 244687319040, , 25 %, 984506441728

SQL[SELECT * FROM `storage` WHERE `storage_index` = '34' AND `device_id` = '2' AND `storage_mib` = 'hrstorage']
SQL[UPDATE `storage` set `storage_descr` ='/storage/disk4',`storage_type` ='hrStorageFixedDisk',`storage_units` ='4096',`storage_size` ='984506441728' WHERE `device_id` = '2' AND `storage_index` = '34' AND `storage_mib` = 'hrstorage'] .Array, 36, hrStorageFixedDisk, hrstorage, /sys/fs/fuse/connections, 4096, 0, , 0 %, 0
Array, 37, hrStorageFixedDisk, hrstorage, /storage/disk1, 4096, 426622267392, , 14 %, 2953506414592

SQL[SELECT * FROM `storage` WHERE `storage_index` = '37' AND `device_id` = '2' AND `storage_mib` = 'hrstorage']
SQL[UPDATE `storage` set `storage_descr` ='/storage/disk1',`storage_type` ='hrStorageFixedDisk',`storage_units` ='4096',`storage_size` ='2953506414592' WHERE `device_id` = '2' AND `storage_index` = '37' AND `storage_mib` = 'hrstorage'] .
SQL[SELECT * FROM `storage` WHERE `device_id` = '2']

SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='server',`last_discovered_timetaken` ='0.055' WHERE `device_id` = '2']
SQL[INSERT INTO `devices_perftimes` (`device_id`,`operation`,`start`,`duration`)  VALUES ('2','discover','1366567655.0954','0.055268049240112')] Discovered in 0.055 seconds


SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`)  VALUES ('discover','maxwell.fqdn_omitted','1366567655.0925','0.059','1')] ./discovery.php maxwell.fqdn_omitted April 21, 2013, 13:07 - 1 devices discovered in 0.059 secs

SQL[SELECT count(*) FROM ports]
SQL[SELECT count(*) FROM devices]
SQL[SELECT count(*) FROM sensors]
SQL[SELECT count(*) FROM services]
SQL[SELECT count(*) FROM applications]
SQL[SELECT count(*) FROM bgpPeers]
SQL[SELECT COUNT(*) AS count,os from devices group by `os`] Current Revision : 3934
MySQL: Cell[1/0s] Row[12/0s] Rows[0/0s] Column[0/0s] Update[6/0s] Insert[2/0s] Delete[0/0s]


On Sun, Apr 21, 2013 at 12:38 PM, Adam Armstrong <adama@memetic.org> wrote:
Output from discovery for that host with -m storage -d


Andrew Lynch <lurch89@gmail.com> wrote:

That was my first idea. Just made the problem worse. Now I have 2 entries for the same mount point, with different values. 


On Sun, Apr 21, 2013 at 12:01 PM, Adam Armstrong <adama@memetic.org> wrote:
Run discovery.


Andrew Lynch <lurch89@gmail.com> wrote:

I recently changed the disk configuration on one of my monitored hosts. It seems like the discovery engine is pulling the stats incorrectly and applying them to the wrong disks. Is there an easy way (save for removing and re-adding the entire host) to flush the stats of the storage only? I don't care if it has to completely start from scratch.

Thanks!
-Andy

--
Andrew Lynch (KD0IOE)
lurch89@gmail.com
http://andrewrlynch.com

"Scientists study the world as it is; engineers create the world that has never been."
   —Theodore von Kármán


WC

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium




--
Andrew Lynch (KD0IOE)
lurch89@gmail.com
http://andrewrlynch.com

"Scientists study the world as it is; engineers create the world that has never been."
   —Theodore von Kármán


WC

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium




--
Andrew Lynch (KD0IOE)
lurch89@gmail.com
http://andrewrlynch.com

"Scientists study the world as it is; engineers create the world that has never been."
   —Theodore von Kármán


WC