No Graph data

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
JoccE
Posts: 7
Joined: Thu Feb 23, 2012 2:53 am

No Graph data

Post by JoccE »

Hello.

I'm a bit new at this so be nice ;)
I've installed cacti and got problem getting any data on the Graphs, i can see the Pictures but no data.

Here's the error when php poller.php

Code: Select all

02/23/2012 08:55:02 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /v                                                                             ar/www/rra/consortgroup_stockholm_traffic_in_18.rrd --template traffic_out:traff                                                                             ic_in 1329983702:983815605:3517920724
OK u:0.00 s:0.00 r:0.15
02/23/2012 08:55:02 AM - SYSTEM STATS: Time:0.2967 Method:cmd.php Processes:1 Th                                                                             reads:N/A Hosts:9 HostsPerProcess:9 DataSources:0 RRDsProcessed:1
Loop  Time is: 0.3
Sleep Time is: 9.7
Total Time is: 10.3
02/23/2012 08:55:02 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces                                                                             s [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
PHP Warning:  include_once(/var/www/plugins/settings/include/mailer.php): failed                                                                              to open stream: No such file or directory in /var/www/plugins/nectar/nectar_fun                                                                             ctions.php on line 1059
PHP Warning:  include_once(): Failed opening '/var/www/plugins/settings/include/                                                                             mailer.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /                                                                             var/www/plugins/nectar/nectar_functions.php on line 1059
PHP Fatal error:  Class 'Mailer' not found in /var/www/plugins/nectar/nectar_fun                                                                             ctions.php on line 1072
02/23/2012 08:55:11 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 14]
02/23/2012 08:55:11 AM - SYSTEM STATS: Time:0.1124 Method:cmd.php Processes:1 Threads:N/A Hosts:9 HostsPerProcess:9 DataSources:0 RRDsProcessed:0
Loop  Time is: 0.12
Sleep Time is: 9.88
Total Time is: 20.14
02/23/2012 08:55:11 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
PHP Warning:  include_once(/var/www/plugins/settings/include/mailer.php): failed to open stream: No such file or directory in /var/www/plugins/nectar/nectar_functions.php on line 1059
PHP Warning:  include_once(): Failed opening '/var/www/plugins/settings/include/mailer.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/plugins/nectar/nectar_functions.php on line 1059
PHP Fatal error:  Class 'Mailer' not found in /var/www/plugins/nectar/nectar_functions.php on line 1072
02/23/2012 08:55:21 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 14]
02/23/2012 08:55:21 AM - SYSTEM STATS: Time:0.1085 Method:cmd.php Processes:1 Threads:N/A Hosts:9 HostsPerProcess:9 DataSources:0 RRDsProcessed:0
Loop  Time is: 0.12
Sleep Time is: 9.88
Total Time is: 30.14
02/23/2012 08:55:21 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
PHP Warning:  include_once(/var/www/plugins/settings/include/mailer.php): failed to open stream: No such file or directory in /var/www/plugins/nectar/nectar_functions.php on line 1059
PHP Warning:  include_once(): Failed opening '/var/www/plugins/settings/include/mailer.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/plugins/nectar/nectar_functions.php on line 1059
PHP Fatal error:  Class 'Mailer' not found in /var/www/plugins/nectar/nectar_functions.php on line 1072
02/23/2012 08:55:31 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 14]
Waiting on 1 of 1 pollers.
02/23/2012 08:55:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1329983731:10636
02/23/2012 08:55:31 AM - SYSTEM STATS: Time:0.1204 Method:cmd.php Processes:1 Threads:N/A Hosts:9 HostsPerProcess:9 DataSources:0 RRDsProcessed:1
OK u:0.00 s:0.00 r:0.00
Loop  Time is: 0.14
Sleep Time is: 9.86
Total Time is: 40.16
02/23/2012 08:55:31 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
PHP Warning:  include_once(/var/www/plugins/settings/include/mailer.php): failed to open stream: No such file or directory in /var/www/plugins/nectar/nectar_functions.php on line 1059
PHP Warning:  include_once(): Failed opening '/var/www/plugins/settings/include/mailer.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/plugins/nectar/nectar_functions.php on line 1059
PHP Fatal error:  Class 'Mailer' not found in /var/www/plugins/nectar/nectar_functions.php on line 1072
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: No Graph data

Post by gandalf »

I fear that this is NOT 087i+PIA, is it?
R.
JoccE
Posts: 7
Joined: Thu Feb 23, 2012 2:53 am

Re: No Graph data

Post by JoccE »

gandalf wrote:I fear that this is NOT 087i+PIA, is it?
R.
Yes it's 0.8.7i with plugins enabled

Monitor
GPSMaps
And nectar
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: No Graph data

Post by gandalf »

Did you install the required SETTINGS plugin, then? See 3rd link of my sig to find it
R.
JoccE
Posts: 7
Joined: Thu Feb 23, 2012 2:53 am

Re: No Graph data

Post by JoccE »

gandalf wrote:Did you install the required SETTINGS plugin, then? See 3rd link of my sig to find it
R.
yes i've done that now and still no data on graphs

EDIT: Less errors and nectar mailing started working, tho without graphs

new log

Code: Select all

02/27/2012 12:54:03 PM - CMDPHP: Poller[0] Host[12] SNMP: Host responded to SNMP
02/27/2012 12:54:03 PM - CMDPHP: Poller[0] Host[12] RECACHE: Processing 1 items in the auto reindex cache for '83.172.118.14'.
02/27/2012 12:54:03 PM - CMDPHP: Poller[0] Host[12] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0
02/27/2012 12:54:03 PM - CMDPHP: Poller[0] Host[12] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0, output: 3947167200
02/27/2012 12:54:03 PM - CMDPHP: Poller[0] Host[12] DS[19] SNMP: v1: 83.172.118.14, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.16, output: 2279498961
02/27/2012 12:54:03 PM - CMDPHP: Poller[0] Host[12] DS[19] SNMP: v1: 83.172.118.14, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.16, output: 1217097331
02/27/2012 12:54:03 PM - CMDPHP: Poller[0] Time: 0.0165 s, Theads: N/A, Hosts: 9
02/27/2012 12:54:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/rra/leverera_-_berget_traffic_in_19.rrd --template traffic_out:traffic_in 1330343643:1217097331:2279498961
02/27/2012 12:54:03 PM - SYSTEM STATS: Time:0.1108 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:2 RRDsProcessed:1
02/27/2012 12:54:03 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
02/27/2012 12:54:03 PM - NECTAR: Poller[0] NECTAR reports found: 0
02/27/2012 12:54:13 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 16]
02/27/2012 12:54:13 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
02/27/2012 12:54:13 PM - SYSTEM STATS: Time:0.1111 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:2 RRDsProcessed:0
02/27/2012 12:54:13 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
02/27/2012 12:54:13 PM - NECTAR: Poller[0] NECTAR reports found: 0
02/27/2012 12:54:23 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 16]
02/27/2012 12:54:23 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
02/27/2012 12:54:23 PM - SYSTEM STATS: Time:0.1119 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:2 RRDsProcessed:0
02/27/2012 12:54:23 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
02/27/2012 12:54:23 PM - NECTAR: Poller[0] NECTAR reports found: 0
02/27/2012 12:54:33 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 16]
02/27/2012 12:54:33 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
02/27/2012 12:54:33 PM - SYSTEM STATS: Time:0.1071 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:2 RRDsProcessed:0
02/27/2012 12:54:33 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
02/27/2012 12:54:33 PM - NECTAR: Poller[0] NECTAR reports found: 0
02/27/2012 12:54:43 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 16]
02/27/2012 12:54:43 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
02/27/2012 12:54:43 PM - SYSTEM STATS: Time:0.1088 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:2 RRDsProcessed:0
02/27/2012 12:54:43 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
02/27/2012 12:54:43 PM - NECTAR: Poller[0] NECTAR reports found: 0
02/27/2012 12:54:53 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 16]
02/27/2012 12:54:53 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
02/27/2012 12:54:53 PM - SYSTEM STATS: Time:0.1077 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:2 RRDsProcessed:0
02/27/2012 12:54:53 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
02/27/2012 12:54:53 PM - NECTAR: Poller[0] NECTAR reports found: 0
02/27/2012 12:55:01 PM - POLLER: Poller[0] NOTE: Poller Int: '10', Cron Int: '60', Time Since Last: '58', Max Runtime '58', Poller Runs: '6'
02/27/2012 12:55:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 16]
02/27/2012 12:55:01 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
02/27/2012 12:55:02 PM - SYSTEM STATS: Time:0.1079 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:0 RRDsProcessed:0
02/27/2012 12:55:02 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
02/27/2012 12:55:02 PM - NECTAR: Poller[0] NECTAR reports found: 0
02/27/2012 12:55:11 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 16]
02/27/2012 12:55:12 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
02/27/2012 12:55:12 PM - SYSTEM STATS: Time:0.1564 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:0 RRDsProcessed:0
02/27/2012 12:55:12 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
02/27/2012 12:55:12 PM - NECTAR: Poller[0] NECTAR reports found: 0
02/27/2012 12:55:21 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 16]
02/27/2012 12:55:22 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
02/27/2012 12:55:22 PM - SYSTEM STATS: Time:0.1775 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:0 RRDsProcessed:0
02/27/2012 12:55:22 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
02/27/2012 12:55:22 PM - NECTAR: Poller[0] NECTAR reports found: 0
02/27/2012 12:55:31 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 16]
02/27/2012 12:55:32 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
02/27/2012 12:55:32 PM - SYSTEM STATS: Time:0.1083 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:0 RRDsProcessed:0
02/27/2012 12:55:32 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
02/27/2012 12:55:32 PM - NECTAR: Poller[0] NECTAR reports found: 0
02/27/2012 12:55:41 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 16]
02/27/2012 12:55:42 PM - CMDPHP: Poller[0] Host[6] SNMP: Host responded to SNMP
02/27/2012 12:55:42 PM - CMDPHP: Poller[0] Host[6] NOTICE: HOST EVENT: Host Returned from DOWN State: 
02/27/2012 12:55:42 PM - CMDPHP: Poller[0] Host[6] RECACHE: Processing 1 items in the auto reindex cache for '94.127.34.65'.
02/27/2012 12:55:42 PM - CMDPHP: Poller[0] Host[6] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0
02/27/2012 12:55:42 PM - CMDPHP: Poller[0] Host[6] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0, output: 162438600
02/27/2012 12:55:42 PM - CMDPHP: Poller[0] Host[6] DS[18] SNMP: v1: 94.127.34.65, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.16, output: 3901390680
02/27/2012 12:55:42 PM - CMDPHP: Poller[0] Host[6] DS[18] SNMP: v1: 94.127.34.65, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.16, output: 1081817717
02/27/2012 12:55:42 PM - CMDPHP: Poller[0] Time: 0.0385 s, Theads: N/A, Hosts: 9
02/27/2012 12:55:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/rra/consortgroup_stockholm_traffic_in_18.rrd --template traffic_in:traffic_out 1330343742:3901390680:1081817717
02/27/2012 12:55:42 PM - SYSTEM STATS: Time:0.1380 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:0 RRDsProcessed:1
02/27/2012 12:55:42 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
02/27/2012 12:55:42 PM - NECTAR: Poller[0] NECTAR reports found: 0
02/27/2012 12:55:51 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 16]
02/27/2012 12:55:52 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
02/27/2012 12:55:52 PM - SYSTEM STATS: Time:0.1078 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:0 RRDsProcessed:0
02/27/2012 12:55:52 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
02/27/2012 12:55:52 PM - NECTAR: Poller[0] NECTAR reports found: 0
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: No Graph data

Post by gandalf »

PHP Warning: include_once(): Failed opening '/var/www/plugins/settings/include/mailer.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in var/www/plugins/nectar/nectar_functions.php on line 1059
Does this still happen?
R.
JoccE
Posts: 7
Joined: Thu Feb 23, 2012 2:53 am

Re: No Graph data

Post by JoccE »

gandalf wrote:
PHP Warning: include_once(): Failed opening '/var/www/plugins/settings/include/mailer.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in var/www/plugins/nectar/nectar_functions.php on line 1059
Does this still happen?
R.
No it was fixed after i installed the settings plugin.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: No Graph data

Post by gandalf »

JoccE wrote:

Code: Select all

02/27/2012 12:54:03 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
02/27/2012 12:54:03 PM - NECTAR: Poller[0] NECTAR reports found: 0
This shows, that nectar's poller is called but there's nothing to do for it.
Please post your event settings for a sample report
R.
JoccE
Posts: 7
Joined: Thu Feb 23, 2012 2:53 am

Re: No Graph data

Post by JoccE »

gandalf wrote:
JoccE wrote:

Code: Select all

02/27/2012 12:54:03 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/plugins/nectar/poller_nectar.php]
02/27/2012 12:54:03 PM - NECTAR: Poller[0] NECTAR reports found: 0
This shows, that nectar's poller is called but there's nothing to do for it.
Please post your event settings for a sample report
R.
So nectar ain't that important.

I've disabled all the non important addons and when i run poller this is what i get:

Code: Select all

03/02/2012 09:58:38 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cmd.php" 0 16]
03/02/2012 09:58:39 AM - SYSTEM STATS: Time:0.1090 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:0 RRDsProcessed:0
03/02/2012 09:58:39 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/poller_export.php"]
No data on graphs
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: No Graph data

Post by gandalf »

Ok, I thought we were talking about empty NECTAR graphs. So it's the basic Cacti graph, that's failing, right? Is the graph _empty_ but existing or is there _no_ graph at all? Did you already study 2nd link of my sig for debugging?
R.
JoccE
Posts: 7
Joined: Thu Feb 23, 2012 2:53 am

Re: No Graph data

Post by JoccE »

gandalf wrote:Ok, I thought we were talking about empty NECTAR graphs. So it's the basic Cacti graph, that's failing, right? Is the graph _empty_ but existing or is there _no_ graph at all? Did you already study 2nd link of my sig for debugging?
R.
Yes we are talking about the basic graphs.

I can see the graphs itself but there's no data


Checked that again and the thing i can find is that SNMPGET don't work while WALK work just fine.

Get

Code: Select all

(noSuchName) There is no such variable name in this MIB.
while doing snmpget
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: No Graph data

Post by gandalf »

Please post the snmpwalk you were running, I'll tell you the correct OID, then
R.
JoccE
Posts: 7
Joined: Thu Feb 23, 2012 2:53 am

Re: No Graph data

Post by JoccE »

So must have been the wrong "mid" i tryed

when i did snmpget -v 1 -c "public" localhost .1.3.6.1.2.1.25.1.4.0

i got an answer.

So any idea why it doesn't work?

SMTPWalk:

Code: Select all

consort@cacti:/var/www$ snmpwalk -v 1 -c public localhost
iso.3.6.1.2.1.1.1.0 = STRING: "Linux cacti 3.0.0-12-generic-pae #20-Ubuntu SMP F                                                                             ri Oct 7 16:37:17 UTC 2011 i686"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10
iso.3.6.1.2.1.1.3.0 = Timeticks: (111630379) 12 days, 22:05:03.79
iso.3.6.1.2.1.1.4.0 = STRING: "Me <me@example.org>"
iso.3.6.1.2.1.1.5.0 = STRING: "cacti"
iso.3.6.1.2.1.1.6.0 = STRING: "Sitting on the Dock of the Bay"
iso.3.6.1.2.1.1.7.0 = INTEGER: 72
iso.3.6.1.2.1.1.8.0 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.1.9.1.2.1 = OID: iso.3.6.1.6.3.10.3.1.1
iso.3.6.1.2.1.1.9.1.2.2 = OID: iso.3.6.1.6.3.11.3.1.1
iso.3.6.1.2.1.1.9.1.2.3 = OID: iso.3.6.1.6.3.15.2.1.1
iso.3.6.1.2.1.1.9.1.2.4 = OID: iso.3.6.1.6.3.1
iso.3.6.1.2.1.1.9.1.2.5 = OID: iso.3.6.1.2.1.49
iso.3.6.1.2.1.1.9.1.2.6 = OID: iso.3.6.1.2.1.4
iso.3.6.1.2.1.1.9.1.2.7 = OID: iso.3.6.1.2.1.50
iso.3.6.1.2.1.1.9.1.2.8 = OID: iso.3.6.1.6.3.16.2.2.1
iso.3.6.1.2.1.1.9.1.3.1 = STRING: "The SNMP Management Architecture MIB."
iso.3.6.1.2.1.1.9.1.3.2 = STRING: "The MIB for Message Processing and Dispatchin                                                                             g."
iso.3.6.1.2.1.1.9.1.3.3 = STRING: "The management information definitions for th                                                                             e SNMP User-based Security Model."
iso.3.6.1.2.1.1.9.1.3.4 = STRING: "The MIB module for SNMPv2 entities"
iso.3.6.1.2.1.1.9.1.3.5 = STRING: "The MIB module for managing TCP implementatio                                                                             ns"
iso.3.6.1.2.1.1.9.1.3.6 = STRING: "The MIB module for managing IP and ICMP imple                                                                             mentations"
iso.3.6.1.2.1.1.9.1.3.7 = STRING: "The MIB module for managing UDP implementatio                                                                             ns"
iso.3.6.1.2.1.1.9.1.3.8 = STRING: "View-based Access Control Model for SNMP."
iso.3.6.1.2.1.1.9.1.4.1 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.2 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.3 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.4 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.5 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.6 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.7 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.8 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.25.1.1.0 = Timeticks: (111992671) 12 days, 23:05:26.71
iso.3.6.1.2.1.25.1.2.0 = Hex-STRING: 07 DC 03 0C 0A 1D 1C 00 2B 01 00
iso.3.6.1.2.1.25.1.3.0 = INTEGER: 1536
iso.3.6.1.2.1.25.1.4.0 = STRING: "BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic-pae                                                                              root=UUID=c63ab8c9-9cab-47f7-a1f5-50e3b9354ec7 ro
"
iso.3.6.1.2.1.25.1.5.0 = Gauge32: 1
iso.3.6.1.2.1.25.1.6.0 = Gauge32: 75
iso.3.6.1.2.1.25.1.7.0 = INTEGER: 0
End of MIB
consort@cacti:/var/www$ sudo -s
[sudo] password for consort:
root@cacti:/var/www# nano /etc/snmp/snmp.conf
root@cacti:/var/www# clear
root@cacti:/var/www# snmpget -v 1 -c "public" localhost sysUpTime
sysUpTime: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime)
root@cacti:/var/www# snmpget -v 1 -c "public" localhost sysUpTime
sysUpTime: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime)
root@cacti:/var/www# snmpget -v 1 -c "public" localhost sysUpTime.0
sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime)
root@cacti:/var/www# snmpget -v 1 -c "public" localhost system.sysUpTime.0
system.sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -> system                                                                             )
root@cacti:/var/www# snmpwalk -v 1 -c public localhost
iso.3.6.1.2.1.1.1.0 = STRING: "Linux cacti 3.0.0-12-generic-pae #20-Ubuntu SMP F                                                                             ri Oct 7 16:37:17 UTC 2011 i686"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10
iso.3.6.1.2.1.1.3.0 = Timeticks: (119563877) 13 days, 20:07:18.77
iso.3.6.1.2.1.1.4.0 = STRING: "Me <me@example.org>"
iso.3.6.1.2.1.1.5.0 = STRING: "cacti"
iso.3.6.1.2.1.1.6.0 = STRING: "Sitting on the Dock of the Bay"
iso.3.6.1.2.1.1.7.0 = INTEGER: 72
iso.3.6.1.2.1.1.8.0 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.1.9.1.2.1 = OID: iso.3.6.1.6.3.10.3.1.1
iso.3.6.1.2.1.1.9.1.2.2 = OID: iso.3.6.1.6.3.11.3.1.1
iso.3.6.1.2.1.1.9.1.2.3 = OID: iso.3.6.1.6.3.15.2.1.1
iso.3.6.1.2.1.1.9.1.2.4 = OID: iso.3.6.1.6.3.1
iso.3.6.1.2.1.1.9.1.2.5 = OID: iso.3.6.1.2.1.49
iso.3.6.1.2.1.1.9.1.2.6 = OID: iso.3.6.1.2.1.4
iso.3.6.1.2.1.1.9.1.2.7 = OID: iso.3.6.1.2.1.50
iso.3.6.1.2.1.1.9.1.2.8 = OID: iso.3.6.1.6.3.16.2.2.1
iso.3.6.1.2.1.1.9.1.3.1 = STRING: "The SNMP Management Architecture MIB."
iso.3.6.1.2.1.1.9.1.3.2 = STRING: "The MIB for Message Processing and Dispatchin                                                                             g."
iso.3.6.1.2.1.1.9.1.3.3 = STRING: "The management information definitions for th                                                                             e SNMP User-based Security Model."
iso.3.6.1.2.1.1.9.1.3.4 = STRING: "The MIB module for SNMPv2 entities"
iso.3.6.1.2.1.1.9.1.3.5 = STRING: "The MIB module for managing TCP implementatio                                                                             ns"
iso.3.6.1.2.1.1.9.1.3.6 = STRING: "The MIB module for managing IP and ICMP imple                                                                             mentations"
iso.3.6.1.2.1.1.9.1.3.7 = STRING: "The MIB module for managing UDP implementatio                                                                             ns"
iso.3.6.1.2.1.1.9.1.3.8 = STRING: "View-based Access Control Model for SNMP."
iso.3.6.1.2.1.1.9.1.4.1 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.2 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.3 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.4 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.5 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.6 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.7 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.8 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.25.1.1.0 = Timeticks: (119926168) 13 days, 21:07:41.68
iso.3.6.1.2.1.25.1.2.0 = Hex-STRING: 07 DC 03 0D 08 1F 2B 00 2B 01 00
iso.3.6.1.2.1.25.1.3.0 = INTEGER: 1536
iso.3.6.1.2.1.25.1.4.0 = STRING: "BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic-pae                                                                              root=UUID=c63ab8c9-9cab-47f7-a1f5-50e3b9354ec7 ro
"
iso.3.6.1.2.1.25.1.5.0 = Gauge32: 1
iso.3.6.1.2.1.25.1.6.0 = Gauge32: 77
iso.3.6.1.2.1.25.1.7.0 = INTEGER: 0
End of MIB
root@cacti:/var/www# clear
root@cacti:/var/www# snmpwalk -v 1 -c public localhost
iso.3.6.1.2.1.1.1.0 = STRING: "Linux cacti 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10
iso.3.6.1.2.1.1.3.0 = Timeticks: (119564470) 13 days, 20:07:24.70
iso.3.6.1.2.1.1.4.0 = STRING: "Me <me@example.org>"
iso.3.6.1.2.1.1.5.0 = STRING: "cacti"
iso.3.6.1.2.1.1.6.0 = STRING: "Sitting on the Dock of the Bay"
iso.3.6.1.2.1.1.7.0 = INTEGER: 72
iso.3.6.1.2.1.1.8.0 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.1.9.1.2.1 = OID: iso.3.6.1.6.3.10.3.1.1
iso.3.6.1.2.1.1.9.1.2.2 = OID: iso.3.6.1.6.3.11.3.1.1
iso.3.6.1.2.1.1.9.1.2.3 = OID: iso.3.6.1.6.3.15.2.1.1
iso.3.6.1.2.1.1.9.1.2.4 = OID: iso.3.6.1.6.3.1
iso.3.6.1.2.1.1.9.1.2.5 = OID: iso.3.6.1.2.1.49
iso.3.6.1.2.1.1.9.1.2.6 = OID: iso.3.6.1.2.1.4
iso.3.6.1.2.1.1.9.1.2.7 = OID: iso.3.6.1.2.1.50
iso.3.6.1.2.1.1.9.1.2.8 = OID: iso.3.6.1.6.3.16.2.2.1
iso.3.6.1.2.1.1.9.1.3.1 = STRING: "The SNMP Management Architecture MIB."
iso.3.6.1.2.1.1.9.1.3.2 = STRING: "The MIB for Message Processing and Dispatching."
iso.3.6.1.2.1.1.9.1.3.3 = STRING: "The management information definitions for the SNMP User-based Security Model."
iso.3.6.1.2.1.1.9.1.3.4 = STRING: "The MIB module for SNMPv2 entities"
iso.3.6.1.2.1.1.9.1.3.5 = STRING: "The MIB module for managing TCP implementations"
iso.3.6.1.2.1.1.9.1.3.6 = STRING: "The MIB module for managing IP and ICMP implementations"
iso.3.6.1.2.1.1.9.1.3.7 = STRING: "The MIB module for managing UDP implementations"
iso.3.6.1.2.1.1.9.1.3.8 = STRING: "View-based Access Control Model for SNMP."
iso.3.6.1.2.1.1.9.1.4.1 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.2 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.3 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.4 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.5 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.6 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.7 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.1.9.1.4.8 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.25.1.1.0 = Timeticks: (119926761) 13 days, 21:07:47.61
iso.3.6.1.2.1.25.1.2.0 = Hex-STRING: 07 DC 03 0D 08 1F 31 00 2B 01 00
iso.3.6.1.2.1.25.1.3.0 = INTEGER: 1536
iso.3.6.1.2.1.25.1.4.0 = STRING: "BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic-pae root=UUID=c63ab8c9-9cab-47f7-a1f5-50e3b9354ec7 ro
"
iso.3.6.1.2.1.25.1.5.0 = Gauge32: 1
iso.3.6.1.2.1.25.1.6.0 = Gauge32: 78
iso.3.6.1.2.1.25.1.7.0 = INTEGER: 0
End of MIB
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: No Graph data

Post by gandalf »

This leads us to nowhere.
I can't make any sense of what you want to poll and what you are using at present. Perhaps it's my lack of understanding your request.
So all I can do now is to point you to the manual and urge you to perform the basic steps of setting up graphs, step-by-step.
Come back with any question during that very process
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests