Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


cacti problem in SNMP - Get Processor Information

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
yuliantz



Joined: 16 Jul 2008
Posts: 4

PostPosted: Wed Jul 16, 2008 8:56 am    Post subject: cacti problem in SNMP - Get Processor Information Reply with quote

i'hve problem in my cacti in RHEL 5
SNMP - Get Processor Information,Netware - Get Processor Information, Netware - Get Available Volumes,Karlnet - Wireless Bridge Statistics can't success..

Verbose query SNMP-Get Processor information
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 1:161:500:public:::MD5::DES: index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 1:161:500:public:::MD5::DES: query index'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'

Verbosw Query Netware-Get Processor information
+ Running data query [7].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/netware_cpu.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.23.2.27.3.16.1 '
+ Located input field 'nwhrProcessorIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.23.2.27.3.16.1.1'
+ Located input field 'nwhrProcessorNum' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.23.2.27.3.16.1.2'
+ Located input field 'nwhrProcessorStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.23.2.27.3.16.1.3'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/netware_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/netware_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/netware_cpu.xml'

Verbose \query Netware Get available volume
+ Running data query [4].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/netware_disk.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.23.2.28.2.14.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/netware_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/netware_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/netware_disk.xml'

can any ideas?
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9723
Location: MI, USA

PostPosted: Fri Jul 25, 2008 1:00 pm    Post subject: Reply with quote

1) The host_disk may need some updates, check the Cacti SVN.
2) Novell, ping the OID's using snmpget and see what happens.

TheWitness
Back to top
yuliantz



Joined: 16 Jul 2008
Posts: 4

PostPosted: Mon Jul 28, 2008 9:54 am    Post subject: Reply with quote

TheWitness wrote:
1) The host_disk may need some updates, check the Cacti SVN.
2) Novell, ping the OID's using snmpget and see what happens.

TheWitness


snmpget -c public -v1 localhost 1.3.6.1.4.1.23.2.27.3.16.1.1
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-SMI::enterprises.23.2.27.3.16.1.1

that is OID's ?
or snmpawalk -c public -v1 localhost 1.3.6.1.4.1.23.2.27.3.16.1.1
i
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9723
Location: MI, USA

PostPosted: Mon Jul 28, 2008 10:13 am    Post subject: Reply with quote

I assume that is correct. Is snmp turned on on the host?

TheWitness
Back to top
yuliantz



Joined: 16 Jul 2008
Posts: 4

PostPosted: Mon Jul 28, 2008 10:23 am    Post subject: Reply with quote

TheWitness wrote:
I assume that is correct. Is snmp turned on on the host?

TheWitness


yes...

#service snmpd status
snmpd (pid 2272) is running...
I'hve check the SVN, and change this xml

the result is same...
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9723
Location: MI, USA

PostPosted: Mon Jul 28, 2008 10:24 am    Post subject: Reply with quote

What happens when you run this?

/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 1:161:500:public:::MD5::DES: index

TheWitness
Back to top
yuliantz



Joined: 16 Jul 2008
Posts: 4

PostPosted: Mon Jul 28, 2008 10:27 am    Post subject: Reply with quote

TheWitness wrote:
What happens when you run this?

/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 1:161:500:public:::MD5::DES: index

TheWitness

Ok..
the result..

# /usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 1:161:500:public:::MD5::DES: index
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/msql.so' - /usr/lib/php/modules/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Module 'gd' already loaded in Unknown on line 0

problem in php?
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9723
Location: MI, USA

PostPosted: Tue Jul 29, 2008 8:32 pm    Post subject: Reply with quote

Tada!!! Yup.

TheWitness
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group