The line that is being refered to  is : 
            foreach ($aux as $key=>$value)      //fill the values with
the default data
                $aux[$key] =
(isset($this->jffnms_insert[$key])?$this->jffnms_insert[$key]:$value);

Greetz,
Johan


On Wed, 2005-02-09 at 23:09 +0100, johan wrote:
> Javier,
> 
> I tried to change it in the hosts field, with id = 1, and it didnt solve
> the problem. But what I notice is that I see an error when adding a
> host : 
> Warning: Invalid argument supplied for foreach()
> in /opt/jffnms/lib/api.classes.inc.php on line 498
> 
> Any ideas ?
> 
> Greetz,
> Johan
> 
> 
> On Wed, 2005-02-09 at 18:12 -0300, Javier Szyszlican wrote:
> > Use PHPMyAdmin to edit the Host with ID=1 to set your default values.
> > 
> > Javier
> > 
> > johan wrote:
> > > Javier,
> > > 
> > > where can i find those ?
> > > 
> > > JOhan
> > > 
> > > On Wed, 2005-02-09 at 18:03 -0300, Javier Szyszlican wrote:
> > > 
> > >>Hi Johan,
> > >>
> > >>How did you added those values before?
> > >>
> > >>If you want to do that now, you should edit the Host ID 1, that values 
> > >>will be 
> > >>taken as a default.
> > >>
> > >>Javier
> > >>
> > >>johan wrote:
> > >>
> > >>>Javier,
> > >>>
> > >>>I concerns default values. I have to add a lot of routers, and it is
> > >>>easy, to avoid mistakes, that I work as lot of possible with
> > >>>standard/default values, for example for the snmp communities, the tft
> > >>>server and other values. Under the older versions 0.7, I added this in
> > >>>the mysql database, for example by phpmyadmin, and then the persons who
> > >>>insert the routers (I am not the only one who adds the routers into
> > >>>jffnms), didnt have to add those default values like snmp community,
> > >>>tftp server,... 
> > >>>With the new versions i notice that when I insert them into the mysql
> > >>>database, they are not taken over in the webinterface. I sent to your
> > >>>mail the screenshots
> > >>>
> > >>>Greetz,
> > >>>Johan
> > >>>
> > >>>
> > >>>
> > >>>On Wed, 2005-02-09 at 16:39 -0300, Javier Szyszlican wrote:
> > >>>
> > >>>
> > >>>>Hi Johan,
> > >>>>
> > >>>>Can you explain again what problem are you having?
> > >>>>I can't understand it.
> > >>>>
> > >>>>Javier
> > >>>>
> > >>>>johan wrote:
> > >>>>
> > >>>>
> > >>>>>On Mon, 2005-02-07 at 09:54 -0300, Javier Szyszlican wrote:
> > >>>>>
> > >>>>>I sent you mail with screenshots. I have some request, problem, I met
> > >>>>>with the prerelease 0.8.3 : It concerns the mysql-database. Problem I
> > >>>>>met, is that in the older versions I could put in the mysqldatabase in
> > >>>>>the hosts-field, a fixed value, like for example the read/write snmp
> > >>>>>community, and it was shown in the webinterface. Since 0.8-release, 
> > >>>>>even
> > >>>>>if I put it in the hosts-field, I always have to full in a snmp
> > >>>>>community when I add a host. Do you know why and can this be fixed ?
> > >>>>>
> > >>>>>Greetings,
> > >>>>>Johan
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>-------------------------------------------------------
> > >>>>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> > >>>>>Tool for open source databases. Create drag-&-drop reports. Save time
> > >>>>>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> > >>>>>Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > >>>>>_______________________________________________
> > >>>>>jffnms-users mailing list
> > >>>>>[email protected]
> > >>>>>https://lists.sourceforge.net/lists/listinfo/jffnms-users
> > >>>>
> > > 
> > 
> 
> 
> 
> -------------------------------------------------------
> 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



-------------------------------------------------------
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

Reply via email to