si458

Untitled

Dec 29th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.62 KB | None | 0 0
  1. root@observium:~# /opt/observium/discovery.php -h 64 -m storage -d
  2. DEBUG!
  3.  
  4. SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';]
  5. SQL RUNTIME[0.00029707s]
  6.  
  7. SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';]
  8. SQL RUNTIME[0.00012302s]
  9.  
  10. SQL[SELECT * FROM `config`]
  11. SQL RUNTIME[0.00014806s]
  12.  
  13. CMD[/bin/hostname -f]
  14.  
  15. EXITCODE[0]
  16. CMD RUNTIME[0.0031s]
  17. STDOUT[
  18. observium.*****.com
  19. ]
  20.  
  21. ___ _ _
  22. / _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___
  23. | | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \
  24. | |_| || |_) |\__ \| __/| | \ V / | || |_| || | | | | |
  25. \___/ |_.__/ |___/ \___||_| \_/ |_| \__,_||_| |_| |_|
  26. Observium Professional 0.15.12.7359
  27. http://www.observium.org
  28.  
  29.  
  30. CMD[/opt/observium/scripts/distro]
  31.  
  32. EXITCODE[0]
  33. CMD RUNTIME[0.0372s]
  34. STDOUT[
  35. Linux|2.6.32-43-pve|amd64|Ubuntu|12.04
  36. ]
  37.  
  38. CMD[/usr/bin/env python --version 2>&1]
  39.  
  40. EXITCODE[0]
  41. CMD RUNTIME[0.0042s]
  42. STDOUT[
  43. Python 2.7.3
  44. ]
  45.  
  46. SQL[SELECT version();]
  47. SQL RUNTIME[0.01425815s]
  48.  
  49. CMD[/usr/bin/snmpget --version 2>&1]
  50.  
  51. EXITCODE[0]
  52. CMD RUNTIME[0.0032s]
  53. STDOUT[
  54. NET-SNMP version: 5.4.3
  55. ]
  56.  
  57. CMD[/opt/rrdtool-1.4.9/bin/rrdtool --version |head -n1]
  58.  
  59. EXITCODE[0]
  60. CMD RUNTIME[0.0047s]
  61. STDOUT[
  62. RRDtool 1.4.9 Copyright 1997-2013 by Tobias Oetiker <[email protected]>
  63. ]
  64.  
  65. SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);]
  66. SQL RUNTIME[0.00014091s]
  67.  
  68. CMD[/usr/bin/env apache2 -v | awk '/Server version:/ {print $3}']
  69.  
  70. EXITCODE[0]
  71. CMD RUNTIME[0.0439s]
  72. STDOUT[
  73. Apache/2.2.22
  74. ]
  75.  
  76. SQL[SELECT @@sql_mode;]
  77. SQL RUNTIME[0.12035418s]
  78.  
  79. SQL[SHOW VARIABLES LIKE 'character_set_connection']
  80. SQL RUNTIME[0.00046396s]
  81.  
  82. ##### Software versions #####
  83.  
  84. o OS Linux 2.6.32-43-pve [amd64] (Ubuntu 12.04)
  85. o Apache 2.2.22
  86. o PHP 5.4.45-2+deb.sury.org~precise+2
  87. o Python 2.7.3
  88. o MySQL 5.6.24-2+deb.sury.org~precise+2 (extension: mysqli 5.6.24)
  89. o SNMP NET-SNMP 5.4.3
  90. o RRDtool 1.4.9
  91.  
  92. ##### MySQL mode #####
  93.  
  94. o MySQL NO_ENGINE_SUBSTITUTION
  95.  
  96. ##### Charset info #####
  97.  
  98. o PHP UTF-8
  99. o MySQL utf8
  100.  
  101. ##### Timezones info #####
  102.  
  103. o Date Tuesday, 29-Dec-15 14:44:47 UTC
  104. o PHP +00:00
  105. o MySQL +00:00
  106.  
  107.  
  108. SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck';]
  109. SQL RUNTIME[0.00018501s]
  110.  
  111. SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';]
  112. SQL RUNTIME[0.00008082s]
  113.  
  114. SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
  115. SQL RUNTIME[0.00007915s]
  116.  
  117. SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';]
  118. SQL RUNTIME[0.00008297s]
  119. ##### Starting discovery run at 2015-12-29 14:44:47 #####
  120.  
  121.  
  122. SQL[SELECT * FROM `devices` WHERE `status` = 1 AND `disabled` = 0 AND `device_id` = '64' ORDER BY `last_discovered_timetaken` ASC]
  123. SQL RUNTIME[0.00026202s]
  124.  
  125. CMD[/usr/bin/snmpget -v2c -c *** -Pu -OQUst -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'vpn.*****.com':'161' sysObjectID.0 sysUpTime.0]
  126.  
  127. EXITCODE[0]
  128. CMD RUNTIME[0.008s]
  129. STDOUT[
  130. sysObjectID.0 = enterprises.8072.3.2.10
  131. sysUpTime.0 = 67225908
  132. ]
  133. SNMP_STATUS[TRUE]
  134.  
  135. SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '64']
  136. SQL RUNTIME[0.00030112s]
  137. ##### vpn.*****.com [64] #####
  138.  
  139. o OS Type linux
  140. o OS Group unix
  141. o SNMP Version v2c
  142. o Last discovery 2015-12-29 12:33:26
  143. o Last duration 1.31 seconds
  144.  
  145. ##### Module Start: storage #####
  146.  
  147. Storage :
  148. SQL[SELECT * FROM `observium_attribs`]
  149. SQL RUNTIME[0.00014210s]
  150. [[UCD-SNMP-MIB]]
  151. CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pu -OQUs -m UCD-SNMP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'vpn.*****.com':'161' dskEntry]
  152.  
  153. EXITCODE[0]
  154. CMD RUNTIME[0.0108s]
  155. STDOUT[
  156. dskEntry = No Such Object available on this agent at this OID
  157. ]
  158. SNMP_STATUS[FALSE]
  159. [[HOST-RESOURCES-MIB]]
  160. CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pu -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'vpn.*****.com':'161' hrStorageEntry]
  161.  
  162. EXITCODE[0]
  163. CMD RUNTIME[0.0129s]
  164. STDOUT[
  165. hrStorageIndex.1 = 1
  166. hrStorageIndex.3 = 3
  167. hrStorageIndex.6 = 6
  168. hrStorageIndex.7 = 7
  169. hrStorageIndex.8 = 8
  170. hrStorageIndex.10 = 10
  171. hrStorageIndex.37 = 37
  172. hrStorageIndex.38 = 38
  173. hrStorageIndex.39 = 39
  174. hrStorageIndex.40 = 40
  175. hrStorageIndex.41 = 41
  176. hrStorageType.1 = hrStorageRam
  177. hrStorageType.3 = hrStorageVirtualMemory
  178. hrStorageType.6 = hrStorageOther
  179. hrStorageType.7 = hrStorageOther
  180. hrStorageType.8 = hrStorageOther
  181. hrStorageType.10 = hrStorageVirtualMemory
  182. hrStorageType.37 = hrStorageFixedDisk
  183. hrStorageType.38 = hrStorageFixedDisk
  184. hrStorageType.39 = hrStorageFixedDisk
  185. hrStorageType.40 = hrStorageFixedDisk
  186. hrStorageType.41 = hrStorageFixedDisk
  187. hrStorageDescr.1 = Physical memory
  188. hrStorageDescr.3 = Virtual memory
  189. hrStorageDescr.6 = Memory buffers
  190. hrStorageDescr.7 = Cached memory
  191. hrStorageDescr.8 = Shared memory
  192. hrStorageDescr.10 = Swap space
  193. hrStorageDescr.37 = /sys/fs/cgroup
  194. hrStorageDescr.38 = /run
  195. hrStorageDescr.39 = /run/lock
  196. hrStorageDescr.40 = /run/shm
  197. hrStorageDescr.41 = /run/user
  198. hrStorageAllocationUnits.1 = 1024
  199. hrStorageAllocationUnits.3 = 1024
  200. hrStorageAllocationUnits.6 = 1024
  201. hrStorageAllocationUnits.7 = 1024
  202. hrStorageAllocationUnits.8 = 1024
  203. hrStorageAllocationUnits.10 = 1024
  204. hrStorageAllocationUnits.37 = 4096
  205. hrStorageAllocationUnits.38 = 4096
  206. hrStorageAllocationUnits.39 = 4096
  207. hrStorageAllocationUnits.40 = 4096
  208. hrStorageAllocationUnits.41 = 4096
  209. hrStorageSize.1 = 2097152
  210. hrStorageSize.3 = 4194304
  211. hrStorageSize.6 = 2097152
  212. hrStorageSize.7 = 117228
  213. hrStorageSize.8 = 66676
  214. hrStorageSize.10 = 2097152
  215. hrStorageSize.37 = 1
  216. hrStorageSize.38 = 52429
  217. hrStorageSize.39 = 1280
  218. hrStorageSize.40 = 262144
  219. hrStorageSize.41 = 25600
  220. hrStorageUsed.1 = 173368
  221. hrStorageUsed.3 = 173368
  222. hrStorageUsed.6 = 0
  223. hrStorageUsed.7 = 117228
  224. hrStorageUsed.8 = 66676
  225. hrStorageUsed.10 = 0
  226. hrStorageUsed.37 = 0
  227. hrStorageUsed.38 = 266
  228. hrStorageUsed.39 = 0
  229. hrStorageUsed.40 = 0
  230. hrStorageUsed.41 = 0
  231. ]
  232. SNMP_STATUS[TRUE]
  233.  
  234.  
  235. > $cache_discovery['host-resources-mib'] - /opt/observium/includes/discovery/storage.inc.php:19
  236. /opt/observium/includes/discovery/storage/host-resources-mib.inc.php:21
  237. ====================================================================================
  238. array(
  239. [1] => array(
  240. [hrStorageIndex] => string(1) "1"
  241. [hrStorageType] => string(12) "hrStorageRam"
  242. [hrStorageDescr] => string(15) "Physical memory"
  243. [hrStorageAllocationUnits] => string(4) "1024"
  244. [hrStorageSize] => string(7) "2097152"
  245. [hrStorageUsed] => string(6) "173368"
  246. )
  247. [3] => array(
  248. [hrStorageIndex] => string(1) "3"
  249. [hrStorageType] => string(22) "hrStorageVirtualMemory"
  250. [hrStorageDescr] => string(14) "Virtual memory"
  251. [hrStorageAllocationUnits] => string(4) "1024"
  252. [hrStorageSize] => string(7) "4194304"
  253. [hrStorageUsed] => string(6) "173368"
  254. )
  255. [6] => array(
  256. [hrStorageIndex] => string(1) "6"
  257. [hrStorageType] => string(14) "hrStorageOther"
  258. [hrStorageDescr] => string(14) "Memory buffers"
  259. [hrStorageAllocationUnits] => string(4) "1024"
  260. [hrStorageSize] => string(7) "2097152"
  261. [hrStorageUsed] => string(1) "0"
  262. )
  263. [7] => array(
  264. [hrStorageIndex] => string(1) "7"
  265. [hrStorageType] => string(14) "hrStorageOther"
  266. [hrStorageDescr] => string(13) "Cached memory"
  267. [hrStorageAllocationUnits] => string(4) "1024"
  268. [hrStorageSize] => string(6) "117228"
  269. [hrStorageUsed] => string(6) "117228"
  270. )
  271. [8] => array(
  272. [hrStorageIndex] => string(1) "8"
  273. [hrStorageType] => string(14) "hrStorageOther"
  274. [hrStorageDescr] => string(13) "Shared memory"
  275. [hrStorageAllocationUnits] => string(4) "1024"
  276. [hrStorageSize] => string(5) "66676"
  277. [hrStorageUsed] => string(5) "66676"
  278. )
  279. [10] => array(
  280. [hrStorageIndex] => string(2) "10"
  281. [hrStorageType] => string(22) "hrStorageVirtualMemory"
  282. [hrStorageDescr] => string(10) "Swap space"
  283. [hrStorageAllocationUnits] => string(4) "1024"
  284. [hrStorageSize] => string(7) "2097152"
  285. [hrStorageUsed] => string(1) "0"
  286. )
  287. [37] => array(
  288. [hrStorageIndex] => string(2) "37"
  289. [hrStorageType] => string(18) "hrStorageFixedDisk"
  290. [hrStorageDescr] => string(14) "/sys/fs/cgroup"
  291. ‚îó file ~ drwxr-xr-x
  292. [hrStorageAllocationUnits] => string(4) "4096"
  293. [hrStorageSize] => string(1) "1"
  294. [hrStorageUsed] => string(1) "0"
  295. )
  296. [38] => array(
  297. [hrStorageIndex] => string(2) "38"
  298. [hrStorageType] => string(18) "hrStorageFixedDisk"
  299. [hrStorageDescr] => string(4) "/run"
  300. ‚îó file ~ drwxr-xr-x
  301. [hrStorageAllocationUnits] => string(4) "4096"
  302. [hrStorageSize] => string(5) "52429"
  303. [hrStorageUsed] => string(3) "266"
  304. )
  305. [39] => array(
  306. [hrStorageIndex] => string(2) "39"
  307. [hrStorageType] => string(18) "hrStorageFixedDisk"
  308. [hrStorageDescr] => string(9) "/run/lock"
  309. ‚îó file ~ drwxrwxrwt
  310. [hrStorageAllocationUnits] => string(4) "4096"
  311. [hrStorageSize] => string(4) "1280"
  312. [hrStorageUsed] => string(1) "0"
  313. )
  314. [40] => array(
  315. [hrStorageIndex] => string(2) "40"
  316. [hrStorageType] => string(18) "hrStorageFixedDisk"
  317. [hrStorageDescr] => string(8) "/run/shm"
  318. ‚îó file ~ drwxrwxrwt
  319. [hrStorageAllocationUnits] => string(4) "4096"
  320. [hrStorageSize] => string(6) "262144"
  321. [hrStorageUsed] => string(1) "0"
  322. )
  323. [41] => array(
  324. [hrStorageIndex] => string(2) "41"
  325. [hrStorageType] => string(18) "hrStorageFixedDisk"
  326. [hrStorageDescr] => string(9) "/run/user"
  327. [hrStorageAllocationUnits] => string(4) "4096"
  328. [hrStorageSize] => string(5) "25600"
  329. [hrStorageUsed] => string(1) "0"
  330. )
  331. )
  332. HOST-RESOURCES-MIB 64 -> 37, hrStorageFixedDisk, HOST-RESOURCES-MIB, /sys/fs/cgroup, 4096, 4096, 0, 0
  333.  
  334. SQL[SELECT * FROM `storage` WHERE `device_id` = '64' AND `storage_index` = '37' AND `storage_mib` = 'host-resources-mib']
  335. SQL RUNTIME[0.00039601s]
  336. .64 -> 38, hrStorageFixedDisk, HOST-RESOURCES-MIB, /run, 4096, 214749184, 1089536, 0
  337.  
  338. SQL[SELECT * FROM `storage` WHERE `device_id` = '64' AND `storage_index` = '38' AND `storage_mib` = 'host-resources-mib']
  339. SQL RUNTIME[0.00012803s]
  340. .64 -> 39, hrStorageFixedDisk, HOST-RESOURCES-MIB, /run/lock, 4096, 5242880, 0, 0
  341.  
  342. SQL[SELECT * FROM `storage` WHERE `device_id` = '64' AND `storage_index` = '39' AND `storage_mib` = 'host-resources-mib']
  343. SQL RUNTIME[0.00014901s]
  344. .64 -> 40, hrStorageFixedDisk, HOST-RESOURCES-MIB, /run/shm, 4096, 1073741824, 0, 0
  345.  
  346. SQL[SELECT * FROM `storage` WHERE `device_id` = '64' AND `storage_index` = '40' AND `storage_mib` = 'host-resources-mib']
  347. SQL RUNTIME[0.00016594s]
  348. .64 -> 41, hrStorageFixedDisk, HOST-RESOURCES-MIB, /run/user, 4096, 104857600, 0, 0
  349.  
  350. SQL[SELECT * FROM `storage` WHERE `device_id` = '64' AND `storage_index` = '41' AND `storage_mib` = 'host-resources-mib']
  351. SQL RUNTIME[0.00014091s]
  352. .
  353.  
  354. - /opt/observium/discovery.php:182
  355. /opt/observium/includes/discovery/storage.inc.php:21
  356. =============================================
  357. array(
  358. [host-resources-mib] => array(
  359. [37] => string(14) "/sys/fs/cgroup"
  360. ‚îó file ~ drwxr-xr-x
  361. [38] => string(4) "/run"
  362. ‚îó file ~ drwxr-xr-x
  363. [39] => string(9) "/run/lock"
  364. ‚îó file ~ drwxrwxrwt
  365. [40] => string(8) "/run/shm"
  366. ‚îó file ~ drwxrwxrwt
  367. [41] => string(9) "/run/user"
  368. )
  369. )
  370.  
  371. SQL[SELECT * FROM `storage` WHERE `device_id` = '64']
  372. SQL RUNTIME[0.00018191s]
  373. 37 -> host-resources-mib
  374. 38 -> host-resources-mib
  375. 39 -> host-resources-mib
  376. 40 -> host-resources-mib
  377. 41 -> host-resources-mib
  378.  
  379.  
  380. o Duration 0.1427s
  381.  
  382.  
  383. SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='server',`last_discovered_timetaken` ='0.145',`force_discovery` ='0' WHERE `device_id` = '64']
  384. SQL RUNTIME[0.04955792s]
  385.  
  386. SQL[INSERT INTO `devices_perftimes` (`device_id`,`operation`,`start`,`duration`) VALUES ('64','discover','1451400287.7927','0.14520907402039')]
  387. SQL RUNTIME[0.02136612s]
  388. ##### vpn.*****.com [64] completed poller modules at 2015-12-29 14:44:48 #####
  389.  
  390. o Discovery time 0.145 seconds
  391.  
  392. ##### Finished discovery run at 2015-12-29 14:44:48 #####
  393.  
  394.  
  395. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`) VALUES ('discover','64','1451400287.5314','0.478','1')]
  396. SQL RUNTIME[0.04391813s]
  397. /opt/observium/discovery.php: vpn.*****.com - 1 devices discovered in 0.478 secs
  398. NOTE, $config['snmp']['hide_auth'] is set to TRUE, snmp community and snmp v3 auth hidden from debug output.
  399. o Devices Discovered 1
  400. o Discovery Time 0.478 secs
  401. o Memory usage 6.5MB (peak: 6.5MB)
  402. o MySQL Usage Cell[3/0.136s] Row[11/0.006s] Rows[6/0.003s] Column[0/0s] Update[1/0.05s] Insert[2/0.066s] Delete[0/0s]
  403. o RRDTool Usage
  404. root@observium:~#
Advertisement
Add Comment
Please, Sign In to add comment