Hi,

I plan to fix the pass-by-reference issues on the next release, since this 
warning seems kinda new... I've never seen it before.

For now, you just can disable the warnings, using the error_log variable like 
the INSTALL file says, or doing what the warning is saying 
(allow_call_time_pass_reference = True in your php.ini).

I'm using this PS version:

tiberian engine # ps --version
procps version 3.1.15

And I've seen really old PS's that support the -eo parameters, that means that 
you can select which fields do you want. (Its not a grep). Do a man ps and 
find out how to output only the command part of ps. 

Here's an example:
//usr/kde/3.2/bin/artsd -F 10 -S 4096 -a alsa -d -s 60 -m artsmessage -c 
drkonqi -l 3 -f
/opt/setiathome/setiathome -nice 19
sim
kdeinit: konqueror --silent

To add any new support for devices, you have to create a new interface type, 
MIBs just define the information, but you have to read them, and implement 
them yourself (programming them). If you want to code it look at the Manual.

Javier


On Monday 22 March 2004 15:28, [EMAIL PROTECTED] wrote:
> Hi all,
>
> I'm testing JFFNMS, but I found some issues
>
> My system,
>
> Slackware 9.1
> Apache 1.3.29
> php 4.3.4
> mod_ssl 2.8.16
> mysql 4.0.17
> net-snmp 5.1
> openssl 0.9.7c
> rrdtool 1.0.46
>
> All compiled from sources!! no packages
>
> When CRON run:  cd /opt/jffnms/engine && /usr/local/bin/php -q poller.php
>
> I get this WARNING.
>
> PHP Warning:  Call-time pass-by-reference has been deprecated - argument
> passed by value;  If you would like to pass it by reference, modify the
> declaration of [runtime function name]().  If you would like to enable
> call-time
> pass-by-refere
> nce, you can set allow_call_time_pass_reference to true in your INI file.
> Howev
> er, future versions may not support this any longer.  in
> /opt/jffnms/engine/poll
> er.php on line 179
>
>
> Another ISSUE.
>
> CRON command: "cd /opt/jffnms/engine && /usr/local/bin/php -q
> consolidate.php"
>
> I get this:
>
> Another instance of Consolidator is running, aborting...
>
> But I wasn't unable to find ANY other process.
>
> I'm not a programmer, but I like to see where is the problem by myself.
> Then I run in command line (shell) without any problem.
> I check the api.inc.php in the line 305
>
> exec("ps -eo args",$ps_list); //call 'ps'
>
> ps -eo <-- What?? my Slackware doesn't like this.
>
> I modified to:
>
> exec("ps ax | grep args",$ps_list); //call 'ps'
>
> And it works. But I tried to find what's the value of "args", I also check
> the PHP page and I didn't find anything similar.
>
> And finally, What about adding any other hardware, for example a USRobotics
> Access Point?, I need to add the MIB ?? where ? how ?
>
> Thanks in Advance.
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> jffnms-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jffnms-users


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to