There's no graphs,what's wrong? Thank you.

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

Moderators: Developers, Moderators

shitou251314
Posts: 10
Joined: Wed May 17, 2006 12:31 am
Location: nanjing,china
Contact:

There's no graphs,what's wrong? Thank you.

Post by shitou251314 »

when I turn on the graph debug mode , the message shows that : RRDTool Says:

GRAPH ACCESS DENIED.
what's wrong with that? thank you.

RHEL4 , rrdtool-1.2.12, net-snmp 5.x, php-4.x
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please have a look at the web servers error_log. Do you find more in there?
Reinhard
shitou251314
Posts: 10
Joined: Wed May 17, 2006 12:31 am
Location: nanjing,china
Contact:

Post by shitou251314 »

I have seen the the web server's error_log, there's nothing infomation about the directory of the cacti ,
my device's status is up ,and the snmp message is avaliable .but in the debug mode show that :
+ Running data query [3].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/apache/htdocs/forum/cacti/resource/snmp_queries/kbridge.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.762.2.5.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/usr/local/apache/htdocs/forum/cacti/resource/snmp_queries/kbridge.xml'
+ Found data query XML file at '/usr/local/apache/htdocs/forum/cacti/resource/snmp_queries/kbridge.xml'
+ Found data query XML file at '/usr/local/apache/htdocs/forum/cacti/resource/snmp_queries/kbridge.xml'

and the RRDtool still show that :GRAPH ACCESS DENIED

THANK YOU!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

If .1.3.6.1.4.1.762.2.5.2.1.1 does not return data, cacti will not be able to graph anything. Please snmpwalk against this OID from cli to verify
Reinhard
shitou251314
Posts: 10
Joined: Wed May 17, 2006 12:31 am
Location: nanjing,china
Contact:

Post by shitou251314 »

I ' m sorry ,I ' m just a newer ,can you tell me exactly what should I do?
Hope not to trouble you.
shitou251314
Posts: 10
Joined: Wed May 17, 2006 12:31 am
Location: nanjing,china
Contact:

Post by shitou251314 »

my some logs as follows:
View Cacti Log File [3872 Items]
05/20/2006 11:05:04 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/php/bin/php, ARGS: -q /usr/local/apache/htdocs/forum/cacti/poller_export.php]
05/20/2006 11:05:04 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/php/bin/php, ARGS: -q /usr/local/apache/htdocs/forum/cacti/poller_commands.php]
05/20/2006 11:05:04 AM - SYSTEM STATS: Time:2.2649 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:13 RRDsProcessed:13
05/20/2006 11:05:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/forum/cacti/rra/localhost_mem_swap_15.rrd --template mem_swap N:U
05/20/2006 11:05:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool create /usr/local/apache/htdocs/forum/cacti/rra/localhost_mem_swap_15.rrd --step 300 DS:mem_swap:GAUGE:600:0:U 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:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
05/20/2006 11:05:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/forum/cacti/rra/localhost_mem_buffers_14.rrd --template mem_buffers N:U
05/20/2006 11:05:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool create /usr/local/apache/htdocs/forum/cacti/rra/localhost_mem_buffers_14.rrd --step 300 DS:mem_buffers:GAUGE:600:0:U 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:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
05/20/2006 11:05:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/forum/cacti/rra/localhost_snmp_oid_13.rrd --template snmp_oid N:U
05/20/2006 11:05:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool create /usr/local/apache/htdocs/forum/cacti/rra/localhost_snmp_oid_13.rrd --step 300 DS:snmp_oid:GAUGE:600:0:100 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:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
05/20/2006 11:05:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/forum/cacti/rra/localhost_mem_swap_12.rrd --template mem_swap N:U
05/20/2006 11:05:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool create /usr/local/apache/htdocs/forum/cacti/rra/localhost_mem_swap_12.rrd --step 300 DS:mem_swap:GAUGE:600:0:U 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:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
05/20/2006 11:05:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/forum/cacti/rra/localhost_mem_buffers_11.rrd --template mem_buffers N:U
05/20/2006 11:05:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool create /usr/local/apache/htdocs/forum/cacti/rra/localhost_mem_buffers_11.rrd --step 300 DS:mem_buffers:GAUGE:600:0:U 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:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
05/20/2006 11:05:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/forum/cacti/rra/localhost_proc_10.rrd --template proc N:U
05/20/2006 11:05:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool create /usr/local/apache/htdocs/forum/cacti/rra/localhost_proc_10.rrd --step 300 DS:proc:GAUGE:600:0:1000 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:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
shitou251314
Posts: 10
Joined: Wed May 17, 2006 12:31 am
Location: nanjing,china
Contact:

Post by shitou251314 »

05/20/2006 11:15:01 AM - CMDPHP: Poller[0] Host[1] DS[15] WARNING: Result from CMD not valid. Partial Result:

what does this means?

thank you.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This means, that you've queried a device for an OID that this device don't know. Please switch Settings->Logging Level to DEBUG for one poller cycle. Then, find again that error above. YOu should notive the OID queried one line below or above. Then, please try to snmpwalk from command line as follows

Code: Select all

snmpwalk -c <your community string> -v 1 <your target> <OID>
where OID is the OID I mentioned above or the failing OID from you log.
Cactis will perform those snmp requests on its own. But if snmp fails from cli, it will even fail from cacti. If this is the case, you should check the snmp setup of your target device or contact the vendor
Reinhard
shitou251314
Posts: 10
Joined: Wed May 17, 2006 12:31 am
Location: nanjing,china
Contact:

Post by shitou251314 »

Thank you , I will try again
shitou251314
Posts: 10
Joined: Wed May 17, 2006 12:31 am
Location: nanjing,china
Contact:

Post by shitou251314 »

i have done that ,but nothing happen , there is still nothing graphs.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

It would be helpful, if you post the outcome of the command above
Reinhard
shitou251314
Posts: 10
Joined: Wed May 17, 2006 12:31 am
Location: nanjing,china
Contact:

Post by shitou251314 »

This is what i got :
[root@shitou conf]# snmpwalk -c public -v 1 10.0.0.7 1.3.6.1.2.1.2.2.1.2.3
IF-MIB::ifDescr.3 = STRING: Intel(R) PRO/Wireless 2200BG Network Connection -
[root@shitou conf]#
[root@shitou conf]# snmpwalk -c public -v 1 10.0.0.7 1.3.6.1.2.1.2.2.1.5.3
IF-MIB::ifSpeed.3 = Gauge32: 54000000
[root@shitou conf]# snmpwalk -c public -v 1 10.0.0.7 1.3.6.1.2.1.2.2.1.2.2
IF-MIB::ifDescr.2 = STRING: Realtek RTL8139 Family PCI Fast Ethernet NIC -
[root@shitou conf]#
[root@shitou conf]# snmpwalk -c public -v 1 10.0.0.7 1.3.6.1.2.1.4.20.1.2
IP-MIB::ipAdEntIfIndex.0.0.0.0 = INTEGER: 3
IP-MIB::ipAdEntIfIndex.10.0.0.7 = INTEGER: 2
IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1
[root@shitou conf]# snmpwalk -c public -v 1 10.0.0.7 1.3.6.1.2.1.2.2.1.6.3
IF-MIB::ifPhysAddress.3 = STRING: 0:15:0:d:1f:1e

The OID I use is what the SNMP cache log shows.

thank you!
shitou251314
Posts: 10
Joined: Wed May 17, 2006 12:31 am
Location: nanjing,china
Contact:

Post by shitou251314 »

when i run the :php poller.php . it shows that :
[root@shitou cacti]# /usr/bin/php /usr/local/apache/htdocs/forum/cacti/poller.php
/usr/local/rrdtool/bin/rrdtool: error while loading shared libraries: librrd.so.2: cannot open shared object file: No such file or directory
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.2.2.1.10.65540

Cannot find module (NONE): At line 0 in (none)
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.2.2.1.16.65540

Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.2.2.1.10.65539

Cannot find module (NONE): At line 0 in (none)
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.2.2.1.16.65539

sh: -c: line 0: unexpected EOF while looking for matching `"'
sh: -c: line 1: syntax error: unexpected end of file
sh: -c: line 0: unexpected EOF while looking for matching `"'
sh: -c: line 1: syntax error: unexpected end of file
sh: -c: line 0: unexpected EOF while looking for matching `"'
sh: -c: line 1: syntax error: unexpected end of file
sh: -c: line 0: unexpected EOF while looking for matching `"'
sh: -c: line 1: syntax error: unexpected end of file
Cannot find module (NONE): At line 0 in (none)
.1.3.6.1.2.1.2.2.1.16.FD: Unknown Object Identifier (FD)
BE: Unknown Object Identifier (Sub-id not found: (top) -> BE)
DD: Unknown Object Identifier (Sub-id not found: (top) -> DD)
B0: Unknown Object Identifier (Sub-id not found: (top) -> B0)
FC: Unknown Object Identifier (Sub-id not found: (top) -> FC)
BC: Unknown Object Identifier (Sub-id not found: (top) -> BC)
C6: Unknown Object Identifier (Sub-id not found: (top) -> C6)
BB: Unknown Object Identifier (Sub-id not found: (top) -> BB)
AE: Unknown Object Identifier (Sub-id not found: (top) -> AE)
B3: Unknown Object Identifier (Sub-id not found: (top) -> B3)
D0: Unknown Object Identifier (Sub-id not found: (top) -> D0)
F2: Unknown Object Identifier (Sub-id not found: (top) -> F2)
CE: Unknown Object Identifier (Sub-id not found: (top) -> CE)
A2: Unknown Object Identifier (Sub-id not found: (top) -> A2)
D0: Unknown Object Identifier (Sub-id not found: (top) -> D0)
Cannot find module (NONE): At line 0 in (none)
.1.3.6.1.2.1.2.2.1.10.FD: Unknown Object Identifier (FD)
BE: Unknown Object Identifier (Sub-id not found: (top) -> BE)
DD: Unknown Object Identifier (Sub-id not found: (top) -> DD)
B0: Unknown Object Identifier (Sub-id not found: (top) -> B0)
FC: Unknown Object Identifier (Sub-id not found: (top) -> FC)
BC: Unknown Object Identifier (Sub-id not found: (top) -> BC)
C6: Unknown Object Identifier (Sub-id not found: (top) -> C6)
BB: Unknown Object Identifier (Sub-id not found: (top) -> BB)
AE: Unknown Object Identifier (Sub-id not found: (top) -> AE)
B3: Unknown Object Identifier (Sub-id not found: (top) -> B3)
D0: Unknown Object Identifier (Sub-id not found: (top) -> D0)
F2: Unknown Object Identifier (Sub-id not found: (top) -> F2)
CE: Unknown Object Identifier (Sub-id not found: (top) -> CE)
A2: Unknown Object Identifier (Sub-id not found: (top) -> A2)
D0: Unknown Object Identifier (Sub-id not found: (top) -> D0)
Cannot find module (NONE): At line 0 in (none)
.1.3.6.1.2.1.2.2.1.16.2D: Unknown Object Identifier (2D)
CA: Unknown Object Identifier (Sub-id not found: (top) -> CA)
FD: Unknown Object Identifier (Sub-id not found: (top) -> FD)
BE: Unknown Object Identifier (Sub-id not found: (top) -> BE)
DD: Unknown Object Identifier (Sub-id not found: (top) -> DD)
B0: Unknown Object Identifier (Sub-id not found: (top) -> B0)
FC: Unknown Object Identifier (Sub-id not found: (top) -> FC)
BC: Unknown Object Identifier (Sub-id not found: (top) -> BC)
C6: Unknown Object Identifier (Sub-id not found: (top) -> C6)
BB: Unknown Object Identifier (Sub-id not found: (top) -> BB)
AE: Unknown Object Identifier (Sub-id not found: (top) -> AE)
B3: Unknown Object Identifier (Sub-id not found: (top) -> B3)
D0: Unknown Object Identifier (Sub-id not found: (top) -> D0)
F2: Unknown Object Identifier (Sub-id not found: (top) -> F2)
Cannot find module (NONE): At line 0 in (none)
.1.3.6.1.2.1.2.2.1.10.2D: Unknown Object Identifier (2D)
CA: Unknown Object Identifier (Sub-id not found: (top) -> CA)
FD: Unknown Object Identifier (Sub-id not found: (top) -> FD)
BE: Unknown Object Identifier (Sub-id not found: (top) -> BE)
DD: Unknown Object Identifier (Sub-id not found: (top) -> DD)
B0: Unknown Object Identifier (Sub-id not found: (top) -> B0)
FC: Unknown Object Identifier (Sub-id not found: (top) -> FC)
BC: Unknown Object Identifier (Sub-id not found: (top) -> BC)
C6: Unknown Object Identifier (Sub-id not found: (top) -> C6)
BB: Unknown Object Identifier (Sub-id not found: (top) -> BB)
AE: Unknown Object Identifier (Sub-id not found: (top) -> AE)
B3: Unknown Object Identifier (Sub-id not found: (top) -> B3)
D0: Unknown Object Identifier (Sub-id not found: (top) -> D0)
F2: Unknown Object Identifier (Sub-id not found: (top) -> F2)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
Cannot find module (NONE): At line 0 in (none)
6E: Unknown Object Identifier (Sub-id not found: (top) -> 6E)
4E: Unknown Object Identifier (Sub-id not found: (top) -> 4E)
2D: Unknown Object Identifier (Sub-id not found: (top) -> 2D)
CA: Unknown Object Identifier (Sub-id not found: (top) -> CA)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

shitou251314 wrote:This is what i got :
[root@shitou conf]# snmpwalk -c public -v 1 10.0.0.7 1.3.6.1.2.1.2.2.1.2.3
IF-MIB::ifDescr.3 = STRING: Intel(R) PRO/Wireless 2200BG Network Connection -
...
In your second post (the third in this thread overall), you told us to have problems with the OID .1.3.6.1.4.1.762.2.5.2.1.1, but now you've not snmpwalked it. So actually I'm loosing the focus. What problem are we currently after?
Reinhard
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

shitou251314 wrote:when i run the :php poller.php . it shows that :
[root@shitou cacti]# /usr/bin/php /usr/local/apache/htdocs/forum/cacti/poller.php
/usr/local/rrdtool/bin/rrdtool: error while loading shared libraries: librrd.so.2: cannot open shared object file: No such file or directory
This shows, that the rrdtool installation is broken. You will have to re-install rrdtool.
There are more errors, but lets fix this first
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests