mysql> select * from nad_networks;
+----+----------------+------+-------------+--------+------+---------------------+
| id | network | deep | oper_status | parent | seed | oper_status_changed |
+----+----------------+------+-------------+--------+------+---------------------+
| 1 | 172.25.16.0/22 | 1 | 0 | 1 | 4 | 1139236213 |
| 2 | 172.25.16.0/22 | 1 | 3 | 1 | 4 | 1139441440 |
+----+----------------+------+-------------+--------+------+---------------------+
2 rows in set (0.01 sec)
mysql> select * from nad_ips;
Empty set (0.00 sec)
mysql> select * from nad_hosts;
Empty set (0.00 sec)
-------------------------------------------------------
bash-2.05b# crontab -l jffnms | grep -v "^#"
* * * * * cd /usr/local/jffnms/engine && /usr/local/php/bin/php -q consolidate.php >/dev/null 2>&1
0,30 * * * * cd /usr/local/jffnms/engine && /usr/local/php/bin/php -q rrd_analizer.php >/dev/null 2>&1
02 5 * * * cd /usr/local/jffnms/engine && /usr/local/php/bin/php -q cleanup_raw_tables.php >/dev/null 2>&1
20 * * * * cd /usr/local/jffnms/engine && sh tmpwatch.sh /usr/local/jffnms/engine >/dev/null 2>&1
* * * * * cd /usr/local/jffnms/engine && /usr/local/php/bin/php -q poller.php >/dev/null 2>&1
* * * * * cd /usr/local/jffnms/engine && /usr/local/php/bin/php -q poller2.php master 5 >/dev/null 2>&1
0,30 * * * * cd /usr/local/jffnms/engine && /usr/local/php/bin/php -q autodiscovery_interfaces.php master 5 > /dev/null 2>&1
0,30 * * * * cd /usr/local/jffnms/engine && /usr/local/php/bin/php -q autodiscovery_network.php master 5 > /dev/null 2>&1
An again, thanks in advance.
John.
It does look like it worked.
You may want to cleanup the nad_* tables and run it again to see what happens,
or wait until the refresh time expires.
Javier
John F. Restrepo G wrote:
>
> Hi,
>
> Just installed jffnms, very nice job and a very well done piece of
> software. Unfortunately and I'm having a little trouble making Network
> Autodiscovery work.
>
> My config is:
>
> Solaris 10 (x86)
> MySQL
> PHP 4.4
> JFFNMS 8.2
> I've been digging through the archives and tried different fixes:
>
> - Checked that the Network Discovery script is uncommented in the crontab.
> - Recompiled PHP with the pcntl module.
> - Commented (and uncommented) the line "//list(,$aux_ip) = explode ("
> ",$aux_ip* ..."*
> *- *Change the config for the Zone, with and without community strings
>
> ... unsuccessfully I'm afraid. But if I add the hosts manually the
> rest works just fine.
>
> Here is the output from the command line:
>
> bash-2.05b# /usr/local/php/bin/php
> /usr/local/jffnms/engine/autodiscovery_network.php master 3
> bash-2.05b# Content-type: text/html
> X-Powered-By: PHP/4.4.0
>
> 14:51:25 Launcher Starting. Parameters: childs: 3, Timeout: 240, item
> Retries: 2, Rest Time: 3 secs, Read Timeout: 3, Child Hearbeat every 5 secs.
> 14:51:28 Number Network Deep/Max Status
> Changed IDs
> 14:51:28 1 172.25.16.0/22 <http://172.25.16.0/22> 1/3
> started/done 3045 secs ago NID 5 PID 1
> 14:51:28 2 172.16.0.0/22 <http://172.16.0.0/22> 1/3
> started/done 3045 secs ago NID 6 PID 1
> 14:51:28 3 0.0.0.0/22 <http://0.0.0.0/22> 1/3
> started/done 3045 secs ago NID 4 PID 1
> 14:51:28
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> 14:51:28 ITEMS Added 0 items
> 14:51:31 Number Network Deep/Max Status
> Changed IDs
> 14:51:31 1 172.25.16.0/22 <http://172.25.16.0/22> 1/3
> started/done 3048 secs ago NID 5 PID 1
> 14:51:31 2 172.16.0.0/22 < http://172.16.0.0/22> 1/3
> started/done 3048 secs ago NID 6 PID 1
> 14:51:31 3 0.0.0.0/22 <http://0.0.0.0/22> 1/3
> started/done 3048 secs ago NID 4 PID 1
> 14:51:31
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> 14:51:31 Launcher Ended. Parameters: childs: 3, Timeout: 240, item
> Retries: 2, Rest Time: 3 secs, Read Timeout: 3, child Hearbeat every 5
> secs. Total Time: 6 sec
> All Items were processed correctly.
>
>
> I'm newbye w JFFNMS, and sucks at PHP. So any help or advice to make it
> work will be tremendously appreciated.
>
> TIA.
>
> John.
>
> --
> "... no existe nadie que sepa ninguna cosa en la tierra
> y si estás libre de dudas tirá la primera piedra..."
> -- Desierto, Fito Páez --
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS
[EMAIL PROTECTED]
I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users
--
"... no existe nadie que sepa ninguna cosa en la tierra
y si estás libre de dudas tirá la primera piedra..."
-- Desierto, Fito Páez --