So, it works for jffnms 0.8.5, but not for 0.9.1.

With 0.9.1 :
root@jffnms-test:/usr/share/jffnms/engine/discovery# snmpwalk -v1 -c
public 10.254.251.201 system
{some warning lines due to certains mibs... removed}
SNMPv2-MIB::sysDescr.0 = STRING: Hardware: x86 Family 15 Model 2
Stepping 7 AT/AT COMPATIBLE - Software: Windows Version 5.2 (Build
3790 Multiprocessor Free)
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.311.1.1.3.1.3
DISMAN-EXPRESSION-MIB::sysUpTimeInstance = Timeticks: (139517631) 16
days, 3:32:56.31
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING: AD1
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 76

root@jffnms-test:/usr/share/jffnms/engine# php -q
autodiscovery_interfaces.php -h2 -t12 #no space between h and number,
otherwise it doesn't work, not clear in the help !#
No log handling enabled - turning on stderr logging
{some warning lines about mibs, removed}

18:09:37 START     Child started with PID 23798 and idle.
18:09:37 WORK      Child 0 was idle, working on item 2 Try 1
18:09:37 STATUS    Items Waiting/Polling=Total: 0/1
18:09:37 STATUS    Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
18:09:38 CHILD #0   H   2 : IT  12 : Autodiscovering Windows System Info.
18:09:38 CHILD #0   H   2 : Autodiscovery took 31 msec.
18:09:38 STATUS    Items Waiting/Polling=Total: 0/0
18:09:38 STATUS    Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 1/0/0/0/0=1

Nohting discovered.
What can I do for more debugging ?

Pierre-Damien


2011/11/2 Pierre-Damien GATOUILLAT <p...@free.fr>:
> OK, I find a solution. There are several problems : with Debian
> Squeeze we don't have anymore basics MIBS installed with snmp*
> packages. We have to install snmp-mibs-downloader and comment out the
> line mibs : in /etc/snmp/snmp.conf (or add mibs :ALL). Then it works
> with CLI :
>
> root@jffnms-test:/usr/share/jffnms/engine# php -q
> autodiscovery_interfaces.php 2 12
> 17:10:04 H   2 : IT  12 : Autodiscovering Windows System Info
> 17:10:04 H   2 : IT  12 : I    1 : DB  : Not Found
> 17:10:04 H   2 : IT  12 : I    1 : HOST: inte: CPU | desc: Hardware:
> x86 Family 15 Model 2 Stepping 7 AT/AT COMPATIBLE - Software: Windows
> Version 5.2 (Build 3790 Multiprocessor Free) | name: AD1 | loca:  |
> cont:  | cpu_: 2 | proc:
> 17:10:04 H   2 : IT  12 : I    1 : RES : New Interface Found
> 17:10:04 New Event (223): 2011-11-02 17:10:04 - 25 - 2 - CPU - alert -
> autodiscovery - Found -
> 17:10:04 H   2 : Autodiscovery took 31 msec.
>
> But doesn't work with the GUI !
>
> Finally fed up with lot of error with php 5.3, I decided to downgrade
> to 5.2, and it works with the GUI too ! (for debian, I were here
> http://atom-hosting.com/blog/?p=52 and after remove php5.3, we have to
> install the package libkrb53 before install php5.2 from Lenny,
> otherwise you will run into troubles)
>
> => I think jffnms is not ready to php 5.3, lot of problem were
> discovered since different last version.
>
> Last thing, I made the tests with jffnms 0.8.5, I will test with 0.9.1.
>
> Pierre-Damien
>
> 2011/10/30 Craig Small <csm...@enc.com.au>:
>> On Tue, Oct 04, 2011 at 05:19:59PM +0200, Pierre-Damien GATOUILLAT wrote:
>>> Craig, where can we investigate to resolve that ?
>> Make sure that the device has a valid IP address, SNMP community and
>> that Autodiscovery policy is set to something that isn't 'no
>> autodiscovery'
>
> OK, I put it to just_inform
>
>>
>> Find the host ID, let's say it is 9.
>> Bring up a command line and go to the engine directory and run the
>> following:
>>
>>  php -q autodiscovery_interfaces.php -h 9 -t=12
>
> OK but just with 9 and 12, without -h and -t
> php -q autodiscovery_interfaces.php 9 12
>
>
>
>>
>> The -t=12 means only run the windows autodiscovery only
>> Also, can you run:
>>  snmpwalk -On -v 1 -c <community> <ipaddress> system.sysObjectID
>>
>> So if the ip address is 127.0.0.1 and the community is public
>>
>> snmpwalk -On -v 1 -c public 127.0.0.1 system.sysObjectID
>> .1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.8072.3.2.10
>>
>> The number that is 8072 here should be 311 for you.
>>
>> --
>> Craig Small VK2XLZ   http://enc.com.au/          csmall at : enc.com.au
>> Debian GNU/Linux     http://www.debian.org/      csmall at : debian.org
>> old fingerprint:     1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
>> NEW fingerprint:     5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5
>>
>

------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to