Craig

In order for this to work ... I have to pass the snmpset command to the
Foundry in a single packet.
    eg. one command, one line

I tried to set each part of the command one and a time ... in hopes that
it would just sit in a wait state until the enable password was given.

No luck.

The entire command needs to be on one line ... And judging by the
snmp_set and snmp_wrapper functions that are defined in jffnms .. this
is not going to work .. unless a new global function is defined for just
this purpose. I did stare at Javier's code for a while ... and I just
cannot figure out how to add a new function without breaking stuff.

The file that has these global functions is: lib/api.network.inc.php

I even tried a super-hack using passthru() to try and just generate the
file and dump the config to it without involving jffnms at all .. still
no luck.
Both my staff php programmer and I believe that the one-liner command
requirement is in fact what is preventing the config copy from working
with the Foundry's

So how much do your services cost?


On Tue, 2007-07-24 at 18:49 -0500, Craig Small wrote:

> On Tue, Jul 24, 2007 at 03:17:38PM -0400, Jeffrey Singleton wrote:
> > It appears that JFFNMS assumes that it can create these temporary ,dat
> > files for all configs of all devices.
> > For whatever reason, the Foundry will not write to a file unless it is
> > already there and writable.
> That's TFTP rules. The file has to exist AND be world-writable in the
> correct directory before the TFTP server will permit you to write the
> file.
> 
> Currently you scripts work, or rather the transfer part does, if you
> make your own file?  What is the difference between your file and the
> temporary one JFFNMS creates?
> 
> > At this point, I would be willing to pay for someone to just write this
> > code for me and be done with it.
> I can help you there, I've written plugins for people before.
> 
> I think you have a timing problem. The code does have some funnies in it
> to which may or may not be relevant.
> 
>  - Craig
> 

-- 
Jeffrey Singleton
Network Systems Administrator (Trusted Source)
Secure Computing Corporation
48000 North Point Parkway
Alpharetta, GA 30022
C: +1 770-820-2909
O: +1 678-904-3694
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to