GRAPH ACCESS DENIED
Moderators: Developers, Moderators
- AntiSpoofing
- Posts: 26
- Joined: Mon May 15, 2006 11:21 am
Patch breaks Cacti?
OK - linux is not my forte so I probably broke something, but I will be darned if I know what. I run Poller.php as root and cacti with no issues - no errors show up in the log. K. Now when I do a debug on the data source - it looks like it's going but I don't get the Ok at the end - what gives? (and no, it's not a permissions issue, I've got Boeing wide-bodies everywhere).
Example rrd debug:
Data Source Debug
/usr/local/rrdtool-1.2.12/bin/rrdtool create \
/usr/share/cacti/rra/localhost_load_1min_5.rrd \
--step 300 \
DS:load_1min:GAUGE:600:0:500 \
DS:load_5min:GAUGE:600:0:500 \
DS:load_15min:GAUGE:600:0:500 \
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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
>>Latest version (h) with Cactid(g)<<
Example rrd debug:
Data Source Debug
/usr/local/rrdtool-1.2.12/bin/rrdtool create \
/usr/share/cacti/rra/localhost_load_1min_5.rrd \
--step 300 \
DS:load_1min:GAUGE:600:0:500 \
DS:load_5min:GAUGE:600:0:500 \
DS:load_15min:GAUGE:600:0:500 \
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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
>>Latest version (h) with Cactid(g)<<
- AntiSpoofing
- Posts: 26
- Joined: Mon May 15, 2006 11:21 am
Errr - um...
It was in debug mode - that was a straight scrape except the version stuff...
- AntiSpoofing
- Posts: 26
- Joined: Mon May 15, 2006 11:21 am
Oops - ok...
Reading, it's what's for dinner...sorry
- Attachments
-
- no_luck2.JPG (122.7 KiB) Viewed 5273 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
So the tool works, but no data seen. Are you sure your host responds to the wanted OIDs? Please try If the target will not respond, cacti won't be able to collect data
Reinhard
Code: Select all
[reinhard@gandalf snmp_queries]$ snmpwalk -c <community string> -v 1 <target host> .1.3.6.1.2.1.25.2.3.1
...
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.8 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.9 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.10 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.11 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.12 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 1035292
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 1035292
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 1048568
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 2209331
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 102454
HOST-RESOURCES-MIB::hrStorageSize.8 = INTEGER: 507988
HOST-RESOURCES-MIB::hrStorageSize.9 = INTEGER: 507988
HOST-RESOURCES-MIB::hrStorageSize.10 = INTEGER: 507988
HOST-RESOURCES-MIB::hrStorageSize.11 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.12 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 4788
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 325600
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 176
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 931345
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.7 = INTEGER: 12217
HOST-RESOURCES-MIB::hrStorageUsed.8 = INTEGER: 347233
HOST-RESOURCES-MIB::hrStorageUsed.9 = INTEGER: 191350
HOST-RESOURCES-MIB::hrStorageUsed.10 = INTEGER: 167001
HOST-RESOURCES-MIB::hrStorageUsed.11 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.12 = INTEGER: 0
Reinhard
- AntiSpoofing
- Posts: 26
- Joined: Mon May 15, 2006 11:21 am
OID's? Yes they are responding see:
I can do a response from polled OID's but I don't think that is it since the graphs on the localhost itself are not updating... Nor can I create new graphs - I get the magnifying glass but no new graph. It's seems like a permissions issue but it cannot be since I have 777/widebody...
- AntiSpoofing
- Posts: 26
- Joined: Mon May 15, 2006 11:21 am
But just to cover my base...
here is the result of snmpwalk...: (snippet)
HOST-RESOURCES-MIB::hrSWInstalledName.212 = STRING: "talk-0.17-29"
HOST-RESOURCES-MIB::hrSWInstalledName.213 = STRING: "gettext-0.14.3-1"
HOST-RESOURCES-MIB::hrSWInstalledName.214 = STRING: "ppp-2.4.2-7"
HOST-RESOURCES-MIB::hrSWInstalledName.215 = STRING: "crypto-utils-2.2-5"
HOST-RESOURCES-MIB::hrSWInstalledName.216 = STRING: "mod_python-3.1.4-2"
HOST-RESOURCES-MIB::hrSWInstalledName.217 = STRING: "perl-DateManip-5.42a-4"
HOST-RESOURCES-MIB::hrSWInstalledName.218 = STRING: "libgnome-2.10.0-3"
HOST-RESOURCES-MIB::hrSWInstalledName.219 = STRING: "xml-common-0.6.3-17"
HOST-RESOURCES-MIB::hrSWInstalledName.220 = STRING: "gtksourceview-1.2.0-1"
HOST-RESOURCES-MIB::hrSWInstalledName.221 = STRING: "swig-1.3.24-2"
HOST-RESOURCES-MIB::hrSWInstalledName.222 = STRING: "xrestop-0.2-5"
HOST-RESOURCES-MIB::hrSWInstalledName.223 = STRING: "libbonoboui-devel-2.8.1-4"
HOST-RESOURCES-MIB::hrSWInstalledName.224 = STRING: "libgcc-4.0.2-8.fc4"
HOST-RESOURCES-MIB::hrSWInstalledName.225 = STRING: "glib2-devel-2.6.6-1"
HOST-RESOURCES-MIB::hrSWInstalledName.212 = STRING: "talk-0.17-29"
HOST-RESOURCES-MIB::hrSWInstalledName.213 = STRING: "gettext-0.14.3-1"
HOST-RESOURCES-MIB::hrSWInstalledName.214 = STRING: "ppp-2.4.2-7"
HOST-RESOURCES-MIB::hrSWInstalledName.215 = STRING: "crypto-utils-2.2-5"
HOST-RESOURCES-MIB::hrSWInstalledName.216 = STRING: "mod_python-3.1.4-2"
HOST-RESOURCES-MIB::hrSWInstalledName.217 = STRING: "perl-DateManip-5.42a-4"
HOST-RESOURCES-MIB::hrSWInstalledName.218 = STRING: "libgnome-2.10.0-3"
HOST-RESOURCES-MIB::hrSWInstalledName.219 = STRING: "xml-common-0.6.3-17"
HOST-RESOURCES-MIB::hrSWInstalledName.220 = STRING: "gtksourceview-1.2.0-1"
HOST-RESOURCES-MIB::hrSWInstalledName.221 = STRING: "swig-1.3.24-2"
HOST-RESOURCES-MIB::hrSWInstalledName.222 = STRING: "xrestop-0.2-5"
HOST-RESOURCES-MIB::hrSWInstalledName.223 = STRING: "libbonoboui-devel-2.8.1-4"
HOST-RESOURCES-MIB::hrSWInstalledName.224 = STRING: "libgcc-4.0.2-8.fc4"
HOST-RESOURCES-MIB::hrSWInstalledName.225 = STRING: "glib2-devel-2.6.6-1"
- AntiSpoofing
- Posts: 26
- Joined: Mon May 15, 2006 11:21 am
Very well...
Results are...:
HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1
HOST-RESOURCES-MIB::hrStorageIndex.2 = INTEGER: 2
HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3
HOST-RESOURCES-MIB::hrStorageIndex.4 = INTEGER: 4
HOST-RESOURCES-MIB::hrStorageIndex.5 = INTEGER: 5
HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6
HOST-RESOURCES-MIB::hrStorageIndex.7 = INTEGER: 7
HOST-RESOURCES-MIB::hrStorageIndex.8 = INTEGER: 8
HOST-RESOURCES-MIB::hrStorageType.1 = OID: HOST-RESOURCES-TYPES::hrStorageOther
HOST-RESOURCES-MIB::hrStorageType.2 = OID: HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageType.3 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.4 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.5 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.6 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.7 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.8 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Memory Buffers
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: Real Memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Swap Space
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: /
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: /sys
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: /boot
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: /proc/sys/fs/binfmt_misc
HOST-RESOURCES-MIB::hrStorageDescr.8 = STRING: /var/lib/nfs/rpc_pipefs
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.8 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 2070564
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 2070564
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 2031608
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 16688022
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 101086
HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.8 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 129516
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 1478400
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 2520889
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 47808
HOST-RESOURCES-MIB::hrStorageUsed.7 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.8 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1
HOST-RESOURCES-MIB::hrStorageIndex.2 = INTEGER: 2
HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3
HOST-RESOURCES-MIB::hrStorageIndex.4 = INTEGER: 4
HOST-RESOURCES-MIB::hrStorageIndex.5 = INTEGER: 5
HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6
HOST-RESOURCES-MIB::hrStorageIndex.7 = INTEGER: 7
HOST-RESOURCES-MIB::hrStorageIndex.8 = INTEGER: 8
HOST-RESOURCES-MIB::hrStorageType.1 = OID: HOST-RESOURCES-TYPES::hrStorageOther
HOST-RESOURCES-MIB::hrStorageType.2 = OID: HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageType.3 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.4 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.5 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.6 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.7 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.8 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Memory Buffers
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: Real Memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Swap Space
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: /
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: /sys
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: /boot
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: /proc/sys/fs/binfmt_misc
HOST-RESOURCES-MIB::hrStorageDescr.8 = STRING: /var/lib/nfs/rpc_pipefs
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.8 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 2070564
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 2070564
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 2031608
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 16688022
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 101086
HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.8 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 129516
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 1478400
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 2520889
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 47808
HOST-RESOURCES-MIB::hrStorageUsed.7 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.8 = INTEGER: 0
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Well, this looks good. I just noticed, that you've switched from load data to volume size data. But the last one is available as to your last post.
Next step is: please switch Settings->Logging Level to DEBUG for one polling cycle. Then, please have a look at ./log/cacti.log and find your host and the wanted OIDs. Please post that snippet along with the rrdtool update statements found some lines downwards.
Reinhard
Next step is: please switch Settings->Logging Level to DEBUG for one polling cycle. Then, please have a look at ./log/cacti.log and find your host and the wanted OIDs. Please post that snippet along with the rrdtool update statements found some lines downwards.
Reinhard
- AntiSpoofing
- Posts: 26
- Joined: Mon May 15, 2006 11:21 am
Using my host IP to search for...
[root@firewall_tools cacti]# cat cacti.log|grep 155.16.27.100
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] RECACHE: Processing 2 items in the auto reindex cache for '155.16.27.100'
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[862] SNMP: v2: 155.16.27.100, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 4069664253
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[862] SNMP: v2: 155.16.27.100, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 1078835107
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[858] SNMP: v2: 155.16.27.100, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, value: 35938786
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[861] SNMP: v2: 155.16.27.100, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, value: 35938786
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[856] SNMP: v2: 155.16.27.100, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, value: 2089
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[859] SNMP: v2: 155.16.27.100, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, value: 2089
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[857] SNMP: v2: 155.16.27.100, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, value: 22891244
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[860] SNMP: v2: 155.16.27.100, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, value: 22891244
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[1621] SNMP: v2: 155.16.27.100, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, value: 129876
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[1622] SNMP: v2: 155.16.27.100, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, value: 737744
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[1626] SNMP: v2: 155.16.27.100, dsname: swap_total, oid: .1.3.6.1.4.1.2021.4.3.0, value: 2031608
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[1625] SNMP: v2: 155.16.27.100, dsname: swap_free, oid: .1.3.6.1.4.1.2021.4.4.0, value: 2031608
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[1624] SNMP: v2: 155.16.27.100, dsname: mem_total, oid: .1.3.6.1.4.1.2021.4.5.0, value: 2070564
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[1623] SNMP: v2: 155.16.27.100, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, value: 806148
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] RECACHE: Processing 2 items in the auto reindex cache for '155.16.27.100'
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[862] SNMP: v2: 155.16.27.100, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 4069664253
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[862] SNMP: v2: 155.16.27.100, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 1078835107
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[858] SNMP: v2: 155.16.27.100, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, value: 35938786
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[861] SNMP: v2: 155.16.27.100, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, value: 35938786
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[856] SNMP: v2: 155.16.27.100, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, value: 2089
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[859] SNMP: v2: 155.16.27.100, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, value: 2089
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[857] SNMP: v2: 155.16.27.100, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, value: 22891244
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[860] SNMP: v2: 155.16.27.100, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, value: 22891244
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[1621] SNMP: v2: 155.16.27.100, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, value: 129876
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[1622] SNMP: v2: 155.16.27.100, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, value: 737744
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[1626] SNMP: v2: 155.16.27.100, dsname: swap_total, oid: .1.3.6.1.4.1.2021.4.3.0, value: 2031608
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[1625] SNMP: v2: 155.16.27.100, dsname: swap_free, oid: .1.3.6.1.4.1.2021.4.4.0, value: 2031608
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[1624] SNMP: v2: 155.16.27.100, dsname: mem_total, oid: .1.3.6.1.4.1.2021.4.5.0, value: 2070564
05/30/2006 10:20:02 AM - CACTID: Poller[0] Host[1] DS[1623] SNMP: v2: 155.16.27.100, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, value: 806148
- AntiSpoofing
- Posts: 26
- Joined: Mon May 15, 2006 11:21 am
Am not quite sure....
What the rrdtool update statement is supposed to return - I got only a few lines...:
cat cacti.log|grep rrdtool
05/30/2006 10:23:42 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='rrdtool_version'"
05/30/2006 10:23:42 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='rrdtool_version'"
05/30/2006 10:23:47 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('rrdtool_version', 'rrd-1.2.x')"
should I be looking for something else? Am sorry if I am missing something...
cat cacti.log|grep rrdtool
05/30/2006 10:23:42 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='rrdtool_version'"
05/30/2006 10:23:42 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='rrdtool_version'"
05/30/2006 10:23:47 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('rrdtool_version', 'rrd-1.2.x')"
should I be looking for something else? Am sorry if I am missing something...
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
So your Host[1] is failing? And you're running cactid? Then, please try to get full debug info for that host only. Your snippet does not show load info. Are you expecting to get this? Then, please search your Poller Cache (see: Utilities) for a load entry
Reinhard
Code: Select all
cactid --verbosity=5 1 1
Reinhard
- AntiSpoofing
- Posts: 26
- Joined: Mon May 15, 2006 11:21 am
ALL hosts are failing. I am just concentrating on one. Yes, am using CACTID. And the result from last was...:
CACTID: Using cactid config file [/etc/cactid.conf]
CACTID: DEBUG: MySQL Query ID '0': 'SELECT value FROM settings WHERE name = 'path_webroot''
CACTID: DEBUG: MySQL Query ID '0': OK
CACTID: DEBUG: MySQL Query ID '1': 'SELECT value FROM settings WHERE name = 'path_cactilog''
CACTID: DEBUG: MySQL Query ID '1': OK
CACTID: DEBUG: The path_php_server variable is /usr/share/cacti/script_server.php
CACTID: DEBUG: The path_cactilog variable is /usr/share/cacti/cacti.log
CACTID: DEBUG: MySQL Query ID '2': 'SELECT value FROM settings WHERE name = 'log_destination''
CACTID: DEBUG: MySQL Query ID '2': OK
CACTID: DEBUG: The log_destination variable is 1 (FILE)
CACTID: DEBUG: MySQL Query ID '3': 'SELECT value FROM settings WHERE name = 'path_php_binary''
CACTID: DEBUG: MySQL Query ID '3': OK
CACTID: DEBUG: The path_php variable is /usr/bin/php
CACTID: DEBUG: MySQL Query ID '4': 'SELECT value FROM settings WHERE name = 'availability_method''
CACTID: DEBUG: MySQL Query ID '4': OK
CACTID: DEBUG: The availability_method variable is 2
CACTID: DEBUG: MySQL Query ID '5': 'SELECT value FROM settings WHERE name = 'ping_recovery_count''
CACTID: DEBUG: MySQL Query ID '5': OK
CACTID: DEBUG: The ping_recovery_count variable is 3
CACTID: DEBUG: MySQL Query ID '6': 'SELECT value FROM settings WHERE name = 'ping_failure_count''
CACTID: DEBUG: MySQL Query ID '6': OK
CACTID: DEBUG: The ping_failure_count variable is 2
CACTID: DEBUG: MySQL Query ID '7': 'SELECT value FROM settings WHERE name = 'ping_method''
CACTID: DEBUG: MySQL Query ID '7': OK
CACTID: DEBUG: The ping_method variable is 2
CACTID: DEBUG: MySQL Query ID '8': 'SELECT value FROM settings WHERE name = 'ping_retries''
CACTID: DEBUG: MySQL Query ID '8': OK
CACTID: DEBUG: The ping_retries variable is 4
CACTID: DEBUG: MySQL Query ID '9': 'SELECT value FROM settings WHERE name = 'ping_timeout''
CACTID: DEBUG: MySQL Query ID '9': OK
CACTID: DEBUG: The ping_timeout variable is 400
CACTID: DEBUG: MySQL Query ID '10': 'SELECT value FROM settings WHERE name = 'log_perror''
CACTID: DEBUG: MySQL Query ID '10': OK
CACTID: DEBUG: The log_perror variable is 0
CACTID: DEBUG: MySQL Query ID '11': 'SELECT value FROM settings WHERE name = 'log_pwarn''
CACTID: DEBUG: MySQL Query ID '11': OK
CACTID: DEBUG: The log_pwarn variable is 0
CACTID: DEBUG: MySQL Query ID '12': 'SELECT value FROM settings WHERE name = 'log_pstats''
CACTID: DEBUG: MySQL Query ID '12': OK
CACTID: DEBUG: The log_pstats variable is 0
CACTID: DEBUG: MySQL Query ID '13': 'SELECT value FROM settings WHERE name = 'max_threads''
CACTID: DEBUG: MySQL Query ID '13': OK
CACTID: DEBUG: The threads variable is 20
CACTID: DEBUG: MySQL Query ID '14': 'SELECT value FROM settings WHERE name = 'poller_interval''
CACTID: DEBUG: MySQL Query ID '14': OK
CACTID: DEBUG: The polling interval is the system default
CACTID: DEBUG: MySQL Query ID '15': 'SELECT value FROM settings WHERE name = 'concurrent_processes''
CACTID: DEBUG: MySQL Query ID '15': OK
CACTID: DEBUG: The number of concurrent processes is 1
CACTID: DEBUG: MySQL Query ID '16': 'SELECT value FROM settings WHERE name = 'script_timeout''
CACTID: DEBUG: MySQL Query ID '16': OK
CACTID: DEBUG: The script timeout is 30
CACTID: DEBUG: MySQL Query ID '17': 'SELECT value FROM settings WHERE name = 'php_servers''
CACTID: DEBUG: MySQL Query ID '17': OK
CACTID: DEBUG: The number of php script servers to run is 5
CACTID: DEBUG: MySQL Query ID '18': 'SELECT action FROM poller_item WHERE action=2 AND host_id BETWEEN 1 AND 1 LIMIT 1'
CACTID: DEBUG: MySQL Query ID '18': OK
CACTID: DEBUG: StartHost='1', EndHost='1', TotalPHPScripts='0'
CACTID: DEBUG: The PHP Script Server is Not Required
CACTID: DEBUG: MySQL Query ID '19': 'SELECT value FROM settings WHERE name = 'max_get_size''
CACTID: DEBUG: MySQL Query ID '19': OK
CACTID: DEBUG: The Maximum SNMP OID Get Size is 60
CACTID: CACTID: Version 0.8.6f starting
CACTID: MYSQL: Connecting to MySQL database 'cacti' on 'localhost'...
CACTID: MYSQL: Connected to MySQL database 'cacti' on 'localhost'...
CACTID: CACTID: Initializing Net-SNMP API
CACTID: CACTID: Initializing PHP Script Server
CACTID: DEBUG: MySQL Query ID '20': 'SELECT id FROM host WHERE disabled='' AND id BETWEEN 1 AND 1 ORDER BY id'
CACTID: DEBUG: MySQL Query ID '20': OK
CACTID: DEBUG: Initial Value of Active Threads is 0
CACTID: DEBUG: Valid Thread to be Created
CACTID: DEBUG: The Value of Active Threads is 1
CACTID: DEBUG: In Poller, About to Start Polling of Host
CACTID: MYSQL: Connecting to MySQL database 'cacti' on 'localhost'...
CACTID: MYSQL: Connected to MySQL database 'cacti' on 'localhost'...
CACTID: DEBUG: MySQL Query ID '21': 'SELECT action,hostname,snmp_community,snmp_version,snmp_username,snmp_password,rrd_name,rrd_path,arg1,arg2,arg3,local_data_id,rrd_num,snmp_port,snmp_timeout FROM poller_item WHERE host_id=0 ORDER BY arg1'
CACTID: DEBUG: MySQL Query ID '21': OK
CACTID: Host[0] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
CACTID: DEBUG: Valid Thread to be Created
CACTID: DEBUG: The Value of Active Threads is 2
CACTID: DEBUG: In Poller, About to Start Polling of Host
CACTID: MYSQL: Connecting to MySQL database 'cacti' on 'localhost'...
CACTID: MYSQL: Connected to MySQL database 'cacti' on 'localhost'...
CACTID: DEBUG: MySQL Query ID '22': 'SELECT id, hostname,snmp_community,snmp_username,snmp_password,snmp_version,snmp_port,snmp_timeout,status,status_event_count,status_fail_date,status_rec_date,status_last_error,min_time,max_time,cur_time,avg_time,total_polls,failed_polls,availability FROM host WHERE id=1'
CACTID: DEBUG: MySQL Query ID '22': OK
CACTID: Host[1] SNMP Result: Host responded to SNMP
CACTID: DEBUG: MySQL Insert ID '0': 'update host set status='3',status_event_count='0', status_fail_date='2006-03-01 11:55:04',status_rec_date='2006-03-01 04:05:02',status_last_error='Host did not respond to SNMP',min_time='0.000000',max_time='1761.041880',cur_time='1.147030',avg_time='1.647547',total_polls='38933',failed_polls='50',availability='99.8716' where id='1''
CACTID: DEBUG: MySQL Insert ID '0': OK
CACTID: DEBUG: MySQL Query ID '23': 'SELECT data_query_id,action,op,assert_value,arg1 FROM poller_reindex WHERE host_id=1'
CACTID: DEBUG: MySQL Query ID '23': OK
CACTID: Host[1] RECACHE: Processing 2 items in the auto reindex cache for '155.16.27.100'
CACTID: DEBUG: MySQL Insert ID '1': 'update poller_reindex set assert_value='20119365' where host_id='1' and data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0''
CACTID: DEBUG: MySQL Insert ID '1': OK
CACTID: DEBUG: MySQL Insert ID '2': 'update poller_reindex set assert_value='20119365' where host_id='1' and data_query_id='6' and arg1='.1.3.6.1.2.1.1.3.0''
CACTID: DEBUG: MySQL Insert ID '2': OK
CACTID: DEBUG: MySQL Query ID '24': 'SELECT action,hostname,snmp_community,snmp_version,snmp_username,snmp_password,rrd_name,rrd_path,arg1,arg2,arg3,local_data_id,rrd_num,snmp_port,snmp_timeout FROM poller_item WHERE host_id=1 ORDER BY arg1'
CACTID: DEBUG: MySQL Query ID '24': OK
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/loadavg_multi.pl'
CACTID: Host[1] DS[5] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[5] SCRIPT: perl /usr/share/cacti/scripts/loadavg_multi.pl, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/mapper/VolGroup00-LogVol00'
CACTID: Host[1] DS[15] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[15] SCRIPT: perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/mapper/VolGroup00-LogVol00, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/sda1'
CACTID: Host[1] DS[148] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[148] SCRIPT: perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/sda1, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/shm'
CACTID: Host[1] DS[149] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[149] SCRIPT: perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/shm, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/query_unix_partitions.pl get used /dev/mapper/VolGroup00-LogVol00'
CACTID: Host[1] DS[15] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[15] SCRIPT: perl /usr/share/cacti/scripts/query_unix_partitions.pl get used /dev/mapper/VolGroup00-LogVol00, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/query_unix_partitions.pl get used /dev/sda1'
CACTID: Host[1] DS[148] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[148] SCRIPT: perl /usr/share/cacti/scripts/query_unix_partitions.pl get used /dev/sda1, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/query_unix_partitions.pl get used /dev/shm'
CACTID: Host[1] DS[149] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[149] SCRIPT: perl /usr/share/cacti/scripts/query_unix_partitions.pl get used /dev/shm, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/unix_processes.pl'
CACTID: Host[1] DS[147] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[147] SCRIPT: perl /usr/share/cacti/scripts/unix_processes.pl, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/unix_users.pl'
CACTID: Host[1] DS[146] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[146] SCRIPT: perl /usr/share/cacti/scripts/unix_users.pl, output: U
CACTID: DEBUG: The Value of Active Threads is 1
CACTID: Host[1] DS[862] SNMP: v2: 155.16.27.100, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 4108442033
CACTID: Host[1] DS[862] SNMP: v2: 155.16.27.100, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 1083947482
CACTID: Host[1] DS[858] SNMP: v2: 155.16.27.100, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, value: 36609468
CACTID: Host[1] DS[861] SNMP: v2: 155.16.27.100, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, value: 36609468
CACTID: Host[1] DS[856] SNMP: v2: 155.16.27.100, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, value: 2090
CACTID: Host[1] DS[859] SNMP: v2: 155.16.27.100, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, value: 2090
CACTID: Host[1] DS[857] SNMP: v2: 155.16.27.100, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, value: 23325872
CACTID: Host[1] DS[860] SNMP: v2: 155.16.27.100, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, value: 23325872
CACTID: Host[1] DS[1621] SNMP: v2: 155.16.27.100, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, value: 126936
CACTID: Host[1] DS[1622] SNMP: v2: 155.16.27.100, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, value: 734964
CACTID: Host[1] DS[1626] SNMP: v2: 155.16.27.100, dsname: swap_total, oid: .1.3.6.1.4.1.2021.4.3.0, value: 2031608
CACTID: Host[1] DS[1625] SNMP: v2: 155.16.27.100, dsname: swap_free, oid: .1.3.6.1.4.1.2021.4.4.0, value: 2031608
CACTID: Host[1] DS[1624] SNMP: v2: 155.16.27.100, dsname: mem_total, oid: .1.3.6.1.4.1.2021.4.5.0, value: 2070564
CACTID: Host[1] DS[1623] SNMP: v2: 155.16.27.100, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, value: 748568
CACTID: DEBUG: MySQL Insert ID '3': 'INSERT INTO poller_output (local_data_id,rrd_name,time,output) VALUES (862,'traffic_in','2006-05-30 11:55:29','4108442033'),(862,'traffic_out','2006-05-30 11:55:29','1083947482'),(858,'cpu_user','2006-05-30 11:55:29','36609468'),(861,'cpu_user','2006-05-30 11:55:29','36609468'),(856,'cpu_nice','2006-05-30 11:55:29','2090'),(859,'cpu_nice','2006-05-30 11:55:29','2090'),(857,'cpu_system','2006-05-30 11:55:29','23325872'),(860,'cpu_system','2006-05-30 11:55:29','23325872'),(1621,'mem_buffers','2006-05-30 11:55:29','126936'),(1622,'mem_cache','2006-05-30 11:55:29','734964'),(1626,'swap_total','2006-05-30 11:55:29','2031608'),(1625,'swap_free','2006-05-30 11:55:29','2031608'),(1624,'mem_total','2006-05-30 11:55:29','2070564'),(1623,'mem_free','2006-05-30 11:55:29','748568'),(5,'','2006-05-30 11:55:29','U'),(15,'hdd_free','2006-05-30 11:55:29','U'),(148,'hdd_free','2006-05-30 11:55:29','U'),(149,'hdd_free','2006-05-30 11:55:29','U'),(15,'hdd_used','2006-05-30 11:55:29','U'),(148,'hdd_used','2006-05-30 11:55:29','U'),(149,'hdd_used','2006-05-30 11:55:29','U'),(147,'proc','2006-05-30 11:55:29','U'),(146,'users','2006-05-30 11:55:29','U')'
CACTID: DEBUG: MySQL Insert ID '3': OK
CACTID: Host[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
CACTID: DEBUG: The Value of Active Threads is 0
CACTID: DEBUG: MySQL Insert ID '4': 'replace into settings (name,value) values ('date',NOW())'
CACTID: DEBUG: MySQL Insert ID '4': OK
CACTID: DEBUG: MySQL Insert ID '5': 'insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())'
CACTID: DEBUG: MySQL Insert ID '5': OK
CACTID: DEBUG: Thread Cleanup Complete
CACTID: DEBUG: PHP Script Server Pipes Closed
CACTID: DEBUG: Allocated Variable Memory Freed
CACTID: CACTID: Net-SNMP API Shutdown Completed
CACTID: DEBUG: MYSQL Free & Close Completed
CACTID: Time: 0.3723 s, Threads: 20, Hosts: 2
CACTID: Using cactid config file [/etc/cactid.conf]
CACTID: DEBUG: MySQL Query ID '0': 'SELECT value FROM settings WHERE name = 'path_webroot''
CACTID: DEBUG: MySQL Query ID '0': OK
CACTID: DEBUG: MySQL Query ID '1': 'SELECT value FROM settings WHERE name = 'path_cactilog''
CACTID: DEBUG: MySQL Query ID '1': OK
CACTID: DEBUG: The path_php_server variable is /usr/share/cacti/script_server.php
CACTID: DEBUG: The path_cactilog variable is /usr/share/cacti/cacti.log
CACTID: DEBUG: MySQL Query ID '2': 'SELECT value FROM settings WHERE name = 'log_destination''
CACTID: DEBUG: MySQL Query ID '2': OK
CACTID: DEBUG: The log_destination variable is 1 (FILE)
CACTID: DEBUG: MySQL Query ID '3': 'SELECT value FROM settings WHERE name = 'path_php_binary''
CACTID: DEBUG: MySQL Query ID '3': OK
CACTID: DEBUG: The path_php variable is /usr/bin/php
CACTID: DEBUG: MySQL Query ID '4': 'SELECT value FROM settings WHERE name = 'availability_method''
CACTID: DEBUG: MySQL Query ID '4': OK
CACTID: DEBUG: The availability_method variable is 2
CACTID: DEBUG: MySQL Query ID '5': 'SELECT value FROM settings WHERE name = 'ping_recovery_count''
CACTID: DEBUG: MySQL Query ID '5': OK
CACTID: DEBUG: The ping_recovery_count variable is 3
CACTID: DEBUG: MySQL Query ID '6': 'SELECT value FROM settings WHERE name = 'ping_failure_count''
CACTID: DEBUG: MySQL Query ID '6': OK
CACTID: DEBUG: The ping_failure_count variable is 2
CACTID: DEBUG: MySQL Query ID '7': 'SELECT value FROM settings WHERE name = 'ping_method''
CACTID: DEBUG: MySQL Query ID '7': OK
CACTID: DEBUG: The ping_method variable is 2
CACTID: DEBUG: MySQL Query ID '8': 'SELECT value FROM settings WHERE name = 'ping_retries''
CACTID: DEBUG: MySQL Query ID '8': OK
CACTID: DEBUG: The ping_retries variable is 4
CACTID: DEBUG: MySQL Query ID '9': 'SELECT value FROM settings WHERE name = 'ping_timeout''
CACTID: DEBUG: MySQL Query ID '9': OK
CACTID: DEBUG: The ping_timeout variable is 400
CACTID: DEBUG: MySQL Query ID '10': 'SELECT value FROM settings WHERE name = 'log_perror''
CACTID: DEBUG: MySQL Query ID '10': OK
CACTID: DEBUG: The log_perror variable is 0
CACTID: DEBUG: MySQL Query ID '11': 'SELECT value FROM settings WHERE name = 'log_pwarn''
CACTID: DEBUG: MySQL Query ID '11': OK
CACTID: DEBUG: The log_pwarn variable is 0
CACTID: DEBUG: MySQL Query ID '12': 'SELECT value FROM settings WHERE name = 'log_pstats''
CACTID: DEBUG: MySQL Query ID '12': OK
CACTID: DEBUG: The log_pstats variable is 0
CACTID: DEBUG: MySQL Query ID '13': 'SELECT value FROM settings WHERE name = 'max_threads''
CACTID: DEBUG: MySQL Query ID '13': OK
CACTID: DEBUG: The threads variable is 20
CACTID: DEBUG: MySQL Query ID '14': 'SELECT value FROM settings WHERE name = 'poller_interval''
CACTID: DEBUG: MySQL Query ID '14': OK
CACTID: DEBUG: The polling interval is the system default
CACTID: DEBUG: MySQL Query ID '15': 'SELECT value FROM settings WHERE name = 'concurrent_processes''
CACTID: DEBUG: MySQL Query ID '15': OK
CACTID: DEBUG: The number of concurrent processes is 1
CACTID: DEBUG: MySQL Query ID '16': 'SELECT value FROM settings WHERE name = 'script_timeout''
CACTID: DEBUG: MySQL Query ID '16': OK
CACTID: DEBUG: The script timeout is 30
CACTID: DEBUG: MySQL Query ID '17': 'SELECT value FROM settings WHERE name = 'php_servers''
CACTID: DEBUG: MySQL Query ID '17': OK
CACTID: DEBUG: The number of php script servers to run is 5
CACTID: DEBUG: MySQL Query ID '18': 'SELECT action FROM poller_item WHERE action=2 AND host_id BETWEEN 1 AND 1 LIMIT 1'
CACTID: DEBUG: MySQL Query ID '18': OK
CACTID: DEBUG: StartHost='1', EndHost='1', TotalPHPScripts='0'
CACTID: DEBUG: The PHP Script Server is Not Required
CACTID: DEBUG: MySQL Query ID '19': 'SELECT value FROM settings WHERE name = 'max_get_size''
CACTID: DEBUG: MySQL Query ID '19': OK
CACTID: DEBUG: The Maximum SNMP OID Get Size is 60
CACTID: CACTID: Version 0.8.6f starting
CACTID: MYSQL: Connecting to MySQL database 'cacti' on 'localhost'...
CACTID: MYSQL: Connected to MySQL database 'cacti' on 'localhost'...
CACTID: CACTID: Initializing Net-SNMP API
CACTID: CACTID: Initializing PHP Script Server
CACTID: DEBUG: MySQL Query ID '20': 'SELECT id FROM host WHERE disabled='' AND id BETWEEN 1 AND 1 ORDER BY id'
CACTID: DEBUG: MySQL Query ID '20': OK
CACTID: DEBUG: Initial Value of Active Threads is 0
CACTID: DEBUG: Valid Thread to be Created
CACTID: DEBUG: The Value of Active Threads is 1
CACTID: DEBUG: In Poller, About to Start Polling of Host
CACTID: MYSQL: Connecting to MySQL database 'cacti' on 'localhost'...
CACTID: MYSQL: Connected to MySQL database 'cacti' on 'localhost'...
CACTID: DEBUG: MySQL Query ID '21': 'SELECT action,hostname,snmp_community,snmp_version,snmp_username,snmp_password,rrd_name,rrd_path,arg1,arg2,arg3,local_data_id,rrd_num,snmp_port,snmp_timeout FROM poller_item WHERE host_id=0 ORDER BY arg1'
CACTID: DEBUG: MySQL Query ID '21': OK
CACTID: Host[0] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
CACTID: DEBUG: Valid Thread to be Created
CACTID: DEBUG: The Value of Active Threads is 2
CACTID: DEBUG: In Poller, About to Start Polling of Host
CACTID: MYSQL: Connecting to MySQL database 'cacti' on 'localhost'...
CACTID: MYSQL: Connected to MySQL database 'cacti' on 'localhost'...
CACTID: DEBUG: MySQL Query ID '22': 'SELECT id, hostname,snmp_community,snmp_username,snmp_password,snmp_version,snmp_port,snmp_timeout,status,status_event_count,status_fail_date,status_rec_date,status_last_error,min_time,max_time,cur_time,avg_time,total_polls,failed_polls,availability FROM host WHERE id=1'
CACTID: DEBUG: MySQL Query ID '22': OK
CACTID: Host[1] SNMP Result: Host responded to SNMP
CACTID: DEBUG: MySQL Insert ID '0': 'update host set status='3',status_event_count='0', status_fail_date='2006-03-01 11:55:04',status_rec_date='2006-03-01 04:05:02',status_last_error='Host did not respond to SNMP',min_time='0.000000',max_time='1761.041880',cur_time='1.147030',avg_time='1.647547',total_polls='38933',failed_polls='50',availability='99.8716' where id='1''
CACTID: DEBUG: MySQL Insert ID '0': OK
CACTID: DEBUG: MySQL Query ID '23': 'SELECT data_query_id,action,op,assert_value,arg1 FROM poller_reindex WHERE host_id=1'
CACTID: DEBUG: MySQL Query ID '23': OK
CACTID: Host[1] RECACHE: Processing 2 items in the auto reindex cache for '155.16.27.100'
CACTID: DEBUG: MySQL Insert ID '1': 'update poller_reindex set assert_value='20119365' where host_id='1' and data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0''
CACTID: DEBUG: MySQL Insert ID '1': OK
CACTID: DEBUG: MySQL Insert ID '2': 'update poller_reindex set assert_value='20119365' where host_id='1' and data_query_id='6' and arg1='.1.3.6.1.2.1.1.3.0''
CACTID: DEBUG: MySQL Insert ID '2': OK
CACTID: DEBUG: MySQL Query ID '24': 'SELECT action,hostname,snmp_community,snmp_version,snmp_username,snmp_password,rrd_name,rrd_path,arg1,arg2,arg3,local_data_id,rrd_num,snmp_port,snmp_timeout FROM poller_item WHERE host_id=1 ORDER BY arg1'
CACTID: DEBUG: MySQL Query ID '24': OK
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/loadavg_multi.pl'
CACTID: Host[1] DS[5] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[5] SCRIPT: perl /usr/share/cacti/scripts/loadavg_multi.pl, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/mapper/VolGroup00-LogVol00'
CACTID: Host[1] DS[15] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[15] SCRIPT: perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/mapper/VolGroup00-LogVol00, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/sda1'
CACTID: Host[1] DS[148] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[148] SCRIPT: perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/sda1, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/shm'
CACTID: Host[1] DS[149] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[149] SCRIPT: perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/shm, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/query_unix_partitions.pl get used /dev/mapper/VolGroup00-LogVol00'
CACTID: Host[1] DS[15] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[15] SCRIPT: perl /usr/share/cacti/scripts/query_unix_partitions.pl get used /dev/mapper/VolGroup00-LogVol00, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/query_unix_partitions.pl get used /dev/sda1'
CACTID: Host[1] DS[148] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[148] SCRIPT: perl /usr/share/cacti/scripts/query_unix_partitions.pl get used /dev/sda1, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/query_unix_partitions.pl get used /dev/shm'
CACTID: Host[1] DS[149] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[149] SCRIPT: perl /usr/share/cacti/scripts/query_unix_partitions.pl get used /dev/shm, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/unix_processes.pl'
CACTID: Host[1] DS[147] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[147] SCRIPT: perl /usr/share/cacti/scripts/unix_processes.pl, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/unix_users.pl'
CACTID: Host[1] DS[146] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[146] SCRIPT: perl /usr/share/cacti/scripts/unix_users.pl, output: U
CACTID: DEBUG: The Value of Active Threads is 1
CACTID: Host[1] DS[862] SNMP: v2: 155.16.27.100, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 4108442033
CACTID: Host[1] DS[862] SNMP: v2: 155.16.27.100, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 1083947482
CACTID: Host[1] DS[858] SNMP: v2: 155.16.27.100, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, value: 36609468
CACTID: Host[1] DS[861] SNMP: v2: 155.16.27.100, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, value: 36609468
CACTID: Host[1] DS[856] SNMP: v2: 155.16.27.100, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, value: 2090
CACTID: Host[1] DS[859] SNMP: v2: 155.16.27.100, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, value: 2090
CACTID: Host[1] DS[857] SNMP: v2: 155.16.27.100, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, value: 23325872
CACTID: Host[1] DS[860] SNMP: v2: 155.16.27.100, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, value: 23325872
CACTID: Host[1] DS[1621] SNMP: v2: 155.16.27.100, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, value: 126936
CACTID: Host[1] DS[1622] SNMP: v2: 155.16.27.100, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, value: 734964
CACTID: Host[1] DS[1626] SNMP: v2: 155.16.27.100, dsname: swap_total, oid: .1.3.6.1.4.1.2021.4.3.0, value: 2031608
CACTID: Host[1] DS[1625] SNMP: v2: 155.16.27.100, dsname: swap_free, oid: .1.3.6.1.4.1.2021.4.4.0, value: 2031608
CACTID: Host[1] DS[1624] SNMP: v2: 155.16.27.100, dsname: mem_total, oid: .1.3.6.1.4.1.2021.4.5.0, value: 2070564
CACTID: Host[1] DS[1623] SNMP: v2: 155.16.27.100, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, value: 748568
CACTID: DEBUG: MySQL Insert ID '3': 'INSERT INTO poller_output (local_data_id,rrd_name,time,output) VALUES (862,'traffic_in','2006-05-30 11:55:29','4108442033'),(862,'traffic_out','2006-05-30 11:55:29','1083947482'),(858,'cpu_user','2006-05-30 11:55:29','36609468'),(861,'cpu_user','2006-05-30 11:55:29','36609468'),(856,'cpu_nice','2006-05-30 11:55:29','2090'),(859,'cpu_nice','2006-05-30 11:55:29','2090'),(857,'cpu_system','2006-05-30 11:55:29','23325872'),(860,'cpu_system','2006-05-30 11:55:29','23325872'),(1621,'mem_buffers','2006-05-30 11:55:29','126936'),(1622,'mem_cache','2006-05-30 11:55:29','734964'),(1626,'swap_total','2006-05-30 11:55:29','2031608'),(1625,'swap_free','2006-05-30 11:55:29','2031608'),(1624,'mem_total','2006-05-30 11:55:29','2070564'),(1623,'mem_free','2006-05-30 11:55:29','748568'),(5,'','2006-05-30 11:55:29','U'),(15,'hdd_free','2006-05-30 11:55:29','U'),(148,'hdd_free','2006-05-30 11:55:29','U'),(149,'hdd_free','2006-05-30 11:55:29','U'),(15,'hdd_used','2006-05-30 11:55:29','U'),(148,'hdd_used','2006-05-30 11:55:29','U'),(149,'hdd_used','2006-05-30 11:55:29','U'),(147,'proc','2006-05-30 11:55:29','U'),(146,'users','2006-05-30 11:55:29','U')'
CACTID: DEBUG: MySQL Insert ID '3': OK
CACTID: Host[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
CACTID: DEBUG: The Value of Active Threads is 0
CACTID: DEBUG: MySQL Insert ID '4': 'replace into settings (name,value) values ('date',NOW())'
CACTID: DEBUG: MySQL Insert ID '4': OK
CACTID: DEBUG: MySQL Insert ID '5': 'insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())'
CACTID: DEBUG: MySQL Insert ID '5': OK
CACTID: DEBUG: Thread Cleanup Complete
CACTID: DEBUG: PHP Script Server Pipes Closed
CACTID: DEBUG: Allocated Variable Memory Freed
CACTID: CACTID: Net-SNMP API Shutdown Completed
CACTID: DEBUG: MYSQL Free & Close Completed
CACTID: Time: 0.3723 s, Threads: 20, Hosts: 2
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
SNMP stuff is retrieved. ButCACTID: Host[1] DS[862] SNMP: v2: 155.16.27.100, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 4108442033
CACTID: Host[1] DS[862] SNMP: v2: 155.16.27.100, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 1083947482
CACTID: Host[1] DS[858] SNMP: v2: 155.16.27.100, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, value: 36609468
CACTID: Host[1] DS[861] SNMP: v2: 155.16.27.100, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, value: 36609468
CACTID: Host[1] DS[856] SNMP: v2: 155.16.27.100, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, value: 2090
CACTID: Host[1] DS[859] SNMP: v2: 155.16.27.100, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, value: 2090
CACTID: Host[1] DS[857] SNMP: v2: 155.16.27.100, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, value: 23325872
CACTID: Host[1] DS[860] SNMP: v2: 155.16.27.100, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, value: 23325872
CACTID: Host[1] DS[1621] SNMP: v2: 155.16.27.100, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, value: 126936
CACTID: Host[1] DS[1622] SNMP: v2: 155.16.27.100, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, value: 734964
CACTID: Host[1] DS[1626] SNMP: v2: 155.16.27.100, dsname: swap_total, oid: .1.3.6.1.4.1.2021.4.3.0, value: 2031608
CACTID: Host[1] DS[1625] SNMP: v2: 155.16.27.100, dsname: swap_free, oid: .1.3.6.1.4.1.2021.4.4.0, value: 2031608
CACTID: Host[1] DS[1624] SNMP: v2: 155.16.27.100, dsname: mem_total, oid: .1.3.6.1.4.1.2021.4.5.0, value: 2070564
CACTID: Host[1] DS[1623] SNMP: v2: 155.16.27.100, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, value: 748568
perl stuff fails. Perhaps perl is not in the path of your cactiuser? Please provide /full/path/to/perl for your Data Input methods, then Clear Poller Cache(which in fact rebuilds the poller cache) and retry. Please post again the results of the cactid run like the aboveCACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/loadavg_multi.pl'
CACTID: Host[1] DS[5] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[5] SCRIPT: perl /usr/share/cacti/scripts/loadavg_multi.pl, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/mapper/VolGroup00-LogVol00'
CACTID: Host[1] DS[15] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[15] SCRIPT: perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/mapper/VolGroup00-LogVol00, output: U
CACTID: Host[1] DEBUG: The POPEN returned the following File Descriptor 7
CACTID: Host[1] ERROR: Empty result [155.16.27.100]: 'perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/sda1'
CACTID: Host[1] DS[148] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[1] DS[148] SCRIPT: perl /usr/share/cacti/scripts/query_unix_partitions.pl get available /dev/sda1, output: U
Reinhard
Who is online
Users browsing this forum: No registered users and 3 guests