Hi Chris,
Can you try to run:
d:\jffnms\engine> d:\php\php.exe -q d:\jffnms\engine\autodiscovery_interfaces.php
and see what your output looks like?
And also check if you have register_argc_argv = on in your php.ini
Javier
Chris Coates wrote:
Javier,
I have a Win2003 server running JFFNMS and all Windows hosts.
I am having problems getting auto discovery to work.
All clients are set to Automagic, SNMP is configured correctly
If I look at the screen where you add hosts, the poll interval is set
to every 5 min and the last poll date says not set and the poll duration
is all 0s.
If I do a manual discovery that works. The scheduled task "seems" to run fine.
I went to a command prompt and ran the autodiscovery_interfaces.bat
directly from there and it still did not work, so the problem is not how
the task is scheduled.
I then ran d:\jffnms\engine> \php\php.exe -f
autodiscovery_interfaces.php <host_id>, replacing host_id for the
numeric and it worked, the interfaces were all discovered.
I looked at the bat file and I had modified it to point to the correct
drive letter. But other than that it is identical to the original.
It now says "@d:\php\php.exe -q
d:\jffnms\engine\autodiscovery_interfaces.php > nul:"
Any ideas why it is not running from the batch file?
Thanks for your help
Chris
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
