Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@observium:~# /opt/observium/discovery.php -h 64 -m storage -d
- DEBUG!
- SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';]
- SQL RUNTIME[0.00029707s]
- SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';]
- SQL RUNTIME[0.00012302s]
- SQL[SELECT * FROM `config`]
- SQL RUNTIME[0.00014806s]
- CMD[/bin/hostname -f]
- EXITCODE[0]
- CMD RUNTIME[0.0031s]
- STDOUT[
- observium.*****.com
- ]
- ___ _ _
- / _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___
- | | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \
- | |_| || |_) |\__ \| __/| | \ V / | || |_| || | | | | |
- \___/ |_.__/ |___/ \___||_| \_/ |_| \__,_||_| |_| |_|
- Observium Professional 0.15.12.7359
- http://www.observium.org
- CMD[/opt/observium/scripts/distro]
- EXITCODE[0]
- CMD RUNTIME[0.0372s]
- STDOUT[
- Linux|2.6.32-43-pve|amd64|Ubuntu|12.04
- ]
- CMD[/usr/bin/env python --version 2>&1]
- EXITCODE[0]
- CMD RUNTIME[0.0042s]
- STDOUT[
- Python 2.7.3
- ]
- SQL[SELECT version();]
- SQL RUNTIME[0.01425815s]
- CMD[/usr/bin/snmpget --version 2>&1]
- EXITCODE[0]
- CMD RUNTIME[0.0032s]
- STDOUT[
- NET-SNMP version: 5.4.3
- ]
- CMD[/opt/rrdtool-1.4.9/bin/rrdtool --version |head -n1]
- EXITCODE[0]
- CMD RUNTIME[0.0047s]
- STDOUT[
- RRDtool 1.4.9 Copyright 1997-2013 by Tobias Oetiker <[email protected]>
- ]
- SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);]
- SQL RUNTIME[0.00014091s]
- CMD[/usr/bin/env apache2 -v | awk '/Server version:/ {print $3}']
- EXITCODE[0]
- CMD RUNTIME[0.0439s]
- STDOUT[
- Apache/2.2.22
- ]
- SQL[SELECT @@sql_mode;]
- SQL RUNTIME[0.12035418s]
- SQL[SHOW VARIABLES LIKE 'character_set_connection']
- SQL RUNTIME[0.00046396s]
- ##### Software versions #####
- o OS Linux 2.6.32-43-pve [amd64] (Ubuntu 12.04)
- o Apache 2.2.22
- o PHP 5.4.45-2+deb.sury.org~precise+2
- o Python 2.7.3
- o MySQL 5.6.24-2+deb.sury.org~precise+2 (extension: mysqli 5.6.24)
- o SNMP NET-SNMP 5.4.3
- o RRDtool 1.4.9
- ##### MySQL mode #####
- o MySQL NO_ENGINE_SUBSTITUTION
- ##### Charset info #####
- o PHP UTF-8
- o MySQL utf8
- ##### Timezones info #####
- o Date Tuesday, 29-Dec-15 14:44:47 UTC
- o PHP +00:00
- o MySQL +00:00
- SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck';]
- SQL RUNTIME[0.00018501s]
- SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';]
- SQL RUNTIME[0.00008082s]
- SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
- SQL RUNTIME[0.00007915s]
- SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';]
- SQL RUNTIME[0.00008297s]
- ##### Starting discovery run at 2015-12-29 14:44:47 #####
- SQL[SELECT * FROM `devices` WHERE `status` = 1 AND `disabled` = 0 AND `device_id` = '64' ORDER BY `last_discovered_timetaken` ASC]
- SQL RUNTIME[0.00026202s]
- 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]
- EXITCODE[0]
- CMD RUNTIME[0.008s]
- STDOUT[
- sysObjectID.0 = enterprises.8072.3.2.10
- sysUpTime.0 = 67225908
- ]
- SNMP_STATUS[TRUE]
- SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '64']
- SQL RUNTIME[0.00030112s]
- ##### vpn.*****.com [64] #####
- o OS Type linux
- o OS Group unix
- o SNMP Version v2c
- o Last discovery 2015-12-29 12:33:26
- o Last duration 1.31 seconds
- ##### Module Start: storage #####
- Storage :
- SQL[SELECT * FROM `observium_attribs`]
- SQL RUNTIME[0.00014210s]
- [[UCD-SNMP-MIB]]
- 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]
- EXITCODE[0]
- CMD RUNTIME[0.0108s]
- STDOUT[
- dskEntry = No Such Object available on this agent at this OID
- ]
- SNMP_STATUS[FALSE]
- [[HOST-RESOURCES-MIB]]
- 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]
- EXITCODE[0]
- CMD RUNTIME[0.0129s]
- STDOUT[
- hrStorageIndex.1 = 1
- hrStorageIndex.3 = 3
- hrStorageIndex.6 = 6
- hrStorageIndex.7 = 7
- hrStorageIndex.8 = 8
- hrStorageIndex.10 = 10
- hrStorageIndex.37 = 37
- hrStorageIndex.38 = 38
- hrStorageIndex.39 = 39
- hrStorageIndex.40 = 40
- hrStorageIndex.41 = 41
- hrStorageType.1 = hrStorageRam
- hrStorageType.3 = hrStorageVirtualMemory
- hrStorageType.6 = hrStorageOther
- hrStorageType.7 = hrStorageOther
- hrStorageType.8 = hrStorageOther
- hrStorageType.10 = hrStorageVirtualMemory
- hrStorageType.37 = hrStorageFixedDisk
- hrStorageType.38 = hrStorageFixedDisk
- hrStorageType.39 = hrStorageFixedDisk
- hrStorageType.40 = hrStorageFixedDisk
- hrStorageType.41 = hrStorageFixedDisk
- hrStorageDescr.1 = Physical memory
- hrStorageDescr.3 = Virtual memory
- hrStorageDescr.6 = Memory buffers
- hrStorageDescr.7 = Cached memory
- hrStorageDescr.8 = Shared memory
- hrStorageDescr.10 = Swap space
- hrStorageDescr.37 = /sys/fs/cgroup
- hrStorageDescr.38 = /run
- hrStorageDescr.39 = /run/lock
- hrStorageDescr.40 = /run/shm
- hrStorageDescr.41 = /run/user
- hrStorageAllocationUnits.1 = 1024
- hrStorageAllocationUnits.3 = 1024
- hrStorageAllocationUnits.6 = 1024
- hrStorageAllocationUnits.7 = 1024
- hrStorageAllocationUnits.8 = 1024
- hrStorageAllocationUnits.10 = 1024
- hrStorageAllocationUnits.37 = 4096
- hrStorageAllocationUnits.38 = 4096
- hrStorageAllocationUnits.39 = 4096
- hrStorageAllocationUnits.40 = 4096
- hrStorageAllocationUnits.41 = 4096
- hrStorageSize.1 = 2097152
- hrStorageSize.3 = 4194304
- hrStorageSize.6 = 2097152
- hrStorageSize.7 = 117228
- hrStorageSize.8 = 66676
- hrStorageSize.10 = 2097152
- hrStorageSize.37 = 1
- hrStorageSize.38 = 52429
- hrStorageSize.39 = 1280
- hrStorageSize.40 = 262144
- hrStorageSize.41 = 25600
- hrStorageUsed.1 = 173368
- hrStorageUsed.3 = 173368
- hrStorageUsed.6 = 0
- hrStorageUsed.7 = 117228
- hrStorageUsed.8 = 66676
- hrStorageUsed.10 = 0
- hrStorageUsed.37 = 0
- hrStorageUsed.38 = 266
- hrStorageUsed.39 = 0
- hrStorageUsed.40 = 0
- hrStorageUsed.41 = 0
- ]
- SNMP_STATUS[TRUE]
- > $cache_discovery['host-resources-mib'] - /opt/observium/includes/discovery/storage.inc.php:19
- /opt/observium/includes/discovery/storage/host-resources-mib.inc.php:21
- ====================================================================================
- array(
- [1] => array(
- [hrStorageIndex] => string(1) "1"
- [hrStorageType] => string(12) "hrStorageRam"
- [hrStorageDescr] => string(15) "Physical memory"
- [hrStorageAllocationUnits] => string(4) "1024"
- [hrStorageSize] => string(7) "2097152"
- [hrStorageUsed] => string(6) "173368"
- )
- [3] => array(
- [hrStorageIndex] => string(1) "3"
- [hrStorageType] => string(22) "hrStorageVirtualMemory"
- [hrStorageDescr] => string(14) "Virtual memory"
- [hrStorageAllocationUnits] => string(4) "1024"
- [hrStorageSize] => string(7) "4194304"
- [hrStorageUsed] => string(6) "173368"
- )
- [6] => array(
- [hrStorageIndex] => string(1) "6"
- [hrStorageType] => string(14) "hrStorageOther"
- [hrStorageDescr] => string(14) "Memory buffers"
- [hrStorageAllocationUnits] => string(4) "1024"
- [hrStorageSize] => string(7) "2097152"
- [hrStorageUsed] => string(1) "0"
- )
- [7] => array(
- [hrStorageIndex] => string(1) "7"
- [hrStorageType] => string(14) "hrStorageOther"
- [hrStorageDescr] => string(13) "Cached memory"
- [hrStorageAllocationUnits] => string(4) "1024"
- [hrStorageSize] => string(6) "117228"
- [hrStorageUsed] => string(6) "117228"
- )
- [8] => array(
- [hrStorageIndex] => string(1) "8"
- [hrStorageType] => string(14) "hrStorageOther"
- [hrStorageDescr] => string(13) "Shared memory"
- [hrStorageAllocationUnits] => string(4) "1024"
- [hrStorageSize] => string(5) "66676"
- [hrStorageUsed] => string(5) "66676"
- )
- [10] => array(
- [hrStorageIndex] => string(2) "10"
- [hrStorageType] => string(22) "hrStorageVirtualMemory"
- [hrStorageDescr] => string(10) "Swap space"
- [hrStorageAllocationUnits] => string(4) "1024"
- [hrStorageSize] => string(7) "2097152"
- [hrStorageUsed] => string(1) "0"
- )
- [37] => array(
- [hrStorageIndex] => string(2) "37"
- [hrStorageType] => string(18) "hrStorageFixedDisk"
- [hrStorageDescr] => string(14) "/sys/fs/cgroup"
- ‚îó file ~ drwxr-xr-x
- [hrStorageAllocationUnits] => string(4) "4096"
- [hrStorageSize] => string(1) "1"
- [hrStorageUsed] => string(1) "0"
- )
- [38] => array(
- [hrStorageIndex] => string(2) "38"
- [hrStorageType] => string(18) "hrStorageFixedDisk"
- [hrStorageDescr] => string(4) "/run"
- ‚îó file ~ drwxr-xr-x
- [hrStorageAllocationUnits] => string(4) "4096"
- [hrStorageSize] => string(5) "52429"
- [hrStorageUsed] => string(3) "266"
- )
- [39] => array(
- [hrStorageIndex] => string(2) "39"
- [hrStorageType] => string(18) "hrStorageFixedDisk"
- [hrStorageDescr] => string(9) "/run/lock"
- ‚îó file ~ drwxrwxrwt
- [hrStorageAllocationUnits] => string(4) "4096"
- [hrStorageSize] => string(4) "1280"
- [hrStorageUsed] => string(1) "0"
- )
- [40] => array(
- [hrStorageIndex] => string(2) "40"
- [hrStorageType] => string(18) "hrStorageFixedDisk"
- [hrStorageDescr] => string(8) "/run/shm"
- ‚îó file ~ drwxrwxrwt
- [hrStorageAllocationUnits] => string(4) "4096"
- [hrStorageSize] => string(6) "262144"
- [hrStorageUsed] => string(1) "0"
- )
- [41] => array(
- [hrStorageIndex] => string(2) "41"
- [hrStorageType] => string(18) "hrStorageFixedDisk"
- [hrStorageDescr] => string(9) "/run/user"
- [hrStorageAllocationUnits] => string(4) "4096"
- [hrStorageSize] => string(5) "25600"
- [hrStorageUsed] => string(1) "0"
- )
- )
- HOST-RESOURCES-MIB 64 -> 37, hrStorageFixedDisk, HOST-RESOURCES-MIB, /sys/fs/cgroup, 4096, 4096, 0, 0
- SQL[SELECT * FROM `storage` WHERE `device_id` = '64' AND `storage_index` = '37' AND `storage_mib` = 'host-resources-mib']
- SQL RUNTIME[0.00039601s]
- .64 -> 38, hrStorageFixedDisk, HOST-RESOURCES-MIB, /run, 4096, 214749184, 1089536, 0
- SQL[SELECT * FROM `storage` WHERE `device_id` = '64' AND `storage_index` = '38' AND `storage_mib` = 'host-resources-mib']
- SQL RUNTIME[0.00012803s]
- .64 -> 39, hrStorageFixedDisk, HOST-RESOURCES-MIB, /run/lock, 4096, 5242880, 0, 0
- SQL[SELECT * FROM `storage` WHERE `device_id` = '64' AND `storage_index` = '39' AND `storage_mib` = 'host-resources-mib']
- SQL RUNTIME[0.00014901s]
- .64 -> 40, hrStorageFixedDisk, HOST-RESOURCES-MIB, /run/shm, 4096, 1073741824, 0, 0
- SQL[SELECT * FROM `storage` WHERE `device_id` = '64' AND `storage_index` = '40' AND `storage_mib` = 'host-resources-mib']
- SQL RUNTIME[0.00016594s]
- .64 -> 41, hrStorageFixedDisk, HOST-RESOURCES-MIB, /run/user, 4096, 104857600, 0, 0
- SQL[SELECT * FROM `storage` WHERE `device_id` = '64' AND `storage_index` = '41' AND `storage_mib` = 'host-resources-mib']
- SQL RUNTIME[0.00014091s]
- .
- - /opt/observium/discovery.php:182
- /opt/observium/includes/discovery/storage.inc.php:21
- =============================================
- array(
- [host-resources-mib] => array(
- [37] => string(14) "/sys/fs/cgroup"
- ‚îó file ~ drwxr-xr-x
- [38] => string(4) "/run"
- ‚îó file ~ drwxr-xr-x
- [39] => string(9) "/run/lock"
- ‚îó file ~ drwxrwxrwt
- [40] => string(8) "/run/shm"
- ‚îó file ~ drwxrwxrwt
- [41] => string(9) "/run/user"
- )
- )
- SQL[SELECT * FROM `storage` WHERE `device_id` = '64']
- SQL RUNTIME[0.00018191s]
- 37 -> host-resources-mib
- 38 -> host-resources-mib
- 39 -> host-resources-mib
- 40 -> host-resources-mib
- 41 -> host-resources-mib
- o Duration 0.1427s
- SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='server',`last_discovered_timetaken` ='0.145',`force_discovery` ='0' WHERE `device_id` = '64']
- SQL RUNTIME[0.04955792s]
- SQL[INSERT INTO `devices_perftimes` (`device_id`,`operation`,`start`,`duration`) VALUES ('64','discover','1451400287.7927','0.14520907402039')]
- SQL RUNTIME[0.02136612s]
- ##### vpn.*****.com [64] completed poller modules at 2015-12-29 14:44:48 #####
- o Discovery time 0.145 seconds
- ##### Finished discovery run at 2015-12-29 14:44:48 #####
- SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`) VALUES ('discover','64','1451400287.5314','0.478','1')]
- SQL RUNTIME[0.04391813s]
- /opt/observium/discovery.php: vpn.*****.com - 1 devices discovered in 0.478 secs
- NOTE, $config['snmp']['hide_auth'] is set to TRUE, snmp community and snmp v3 auth hidden from debug output.
- o Devices Discovered 1
- o Discovery Time 0.478 secs
- o Memory usage 6.5MB (peak: 6.5MB)
- 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]
- o RRDTool Usage
- root@observium:~#
Advertisement
Add Comment
Please, Sign In to add comment