On Mon, Sep 14, 2009 at 12:00:50PM +0100, Joel Watson wrote:
>    The first problem is that automagic host setup is not working. It is
>    finding all the listening ports on the machines, but nothing else (ie disk
>    space, cpu usage, anything SNMP flavoured) - This is probably related to
>    the second problem, which is...
Anything SNMP flavoured sounds like you either have a problem with the
SNMP setup on the target hosts, or some library is missing in your PHP
setup.

First, check you have snmp module included in your PHP cli, as this is
the PHP "mode" the discovery programs use.

$ php -m | grep snmp
snmp

Now it's not the host discovery you have a problem with, but it is a
problem with the interface discovery.  In the gui pick a host and find
its ID, which should be a low number.

On the command line, run the command from the engine directory as the
jffnms user (or whatever you use), I would use for a host with ID 123

su -s /bin/sh -c 'php -q autodiscovery_interfaces.php 123 0 0 0' jffnms

That way I can see what it is doing, or not doing.  Also try a snmpwalk,
something like
snmpwalk -v 1 -c <your_community> <host_ipaddr> system
with your_community and host_ipaddr being the configured SNMP community
and IP address of the target server.

 - Craig
-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to