This is what I get when I try this command;

[EMAIL PROTECTED] engine]# snmpset -v 1 -c wuccfcsm 10.1.1.244
.1.3.6.1.4.1.9.2.1.55.10.1.1.245 s router-config
enterprises.9.2.1.55.10.1.1.245 = "router-config"

enterprises.9.2.1.55.10.1.1.245: Bad variable type ("=")
[EMAIL PROTECTED] engine]#



--

Jason



-----Original Message-----
From: Min Qiu [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 02, 2005 12:23 PM
To: Jason Humes; [email protected]; Javier Szyszlican
Subject: RE: [jffnms-users] Not all configs transfer after upgrade to 0.8

Try something like this (correct me Javier if jffnms
used different mib)

% snmpset [-v1|-v2c] <yourrouterIP> <yoursnmpRWstring>
.1.3.6.1.4.1.9.2.1.55.<tftpserverip> s router-config
enterprises.9.2.1.55.<tftpserverip> = "router-config"

Min

-----Original Message-----
From: Jason Humes [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 02, 2005 12:12 PM
To: Min Qiu; [email protected]; Javier Szyszlican
Subject: RE: [jffnms-users] Not all configs transfer after upgrade to
0.8

Hi
Even with the -c option, it does not seem to be working fully.  I've
tried to follow cisco's guide on using snmp to backup configs, but I
could not get it to work the way they show.  But, using the cli "copy
run tftp" seems to work fine...it will create the file and
everything....but the scripted snmp way does not work, for some of the
hosts...but not all.  Thanks

--

Jason



-----Original Message-----
From: Min Qiu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 12:08 PM
To: Javier Szyszlican
Cc: [email protected]
Subject: RE: [jffnms-users] Not all configs transfer after upgrade to
0.8

tftp daemon does not have permission to CREAT by default. chmod a+rw
will not able to help.  Need -c option in linux/redhat, for example, as
Jason's tftpd configuration.  Forgive me if install/readme already
include this.

Min 

-----Original Message-----
From: Javier Szyszlican [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 11:22 AM
Cc: [email protected]
Subject: Re: [jffnms-users] Not all configs transfer after upgrade to
0.8

Hi Jason,

Why would you create a a file??????

You should let the tftp daemon create it.

Do a copy run tftp from your router and check if you get a file there.

If you don't you have a TFTP server problem.

The files should be created as the jffnms user so the script can read
them, and then delete them.

Javier

Jason Humes wrote:
> Hi
> So I've edited one of the hosts giving the error and disabled config 
> transfer, saved, re-enabled config transfer for 12.0 or newer, and 
> then ran the tftp_get_host_config ## (where ##is the host id) and I 
> get the same error.  Yet, if I manually create a file with the routers

> hostname in the /opt/jffnms/tftpd dir and chmod 666 it, and then do a 
> copy run tftp, it works.  How is jffnms naming its configs and how 
> should my xinetd tftp conf file look?  Here is mine...
> 
> service tftp
> {
>         socket_type             = dgram
>         protocol                = udp
>         wait                    = yes
>         user                    = root
>         server                  = /usr/sbin/in.tftpd
>         server_args             = -c -s /opt/jffnms/tftpd
>         disable                 = no
> 
> 
> 
> Does this look right, its almost as if its creating some files, but 
> not others.  Also, does jffnms move these configs once they are backed
up?
> There is nothing readable in the tftpd folder.  Thanks
> --
> 
> Jason
> 
> 
> 
> -----Original Message-----
> From: Javier Szyszlican [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 02, 2005 10:20 AM
> Cc: [email protected]
> Subject: Re: [jffnms-users] Not all configs transfer after upgrade to
> 0.8
> 
> Johan,
> 
> The only change is that it now uses our snmp_set function (wrapper for

> SNMP v1,
> v2 or v3)
> 
> Can you disable config transfer for that host and try again.
> 
> Javier
> 
> johan wrote:
> 
>>Javier,
>>
>>IN my case, he always stops at host with id nr. 60, dont know why, he 
>>never goes further. Somethinghas changed in the engine/tftp... file ?
>>
>>Greetz,
>>Johan
>>
>>
>>On Wed, 2005-03-02 at 09:55 -0500, Jason Humes wrote:
>>
>>
>>>Hi
>>>So now since the upgrade to 0.8.0 some of my host configs don't 
>>>backup properly.  When I run the tftp script manually, so of them 
>>>finish ok, some say error getting file and some say error waiting for
transfer to fininsh.
>>>My tftp server is set to use /opt/jffnms/tftpd and under the system 
>>>setup part of jffnms, it is set for /opt/jffnms/tftpd...yet while 
>>>running this tftp script, I never see any configs in that directory.

>>>Any
> 
> ideas...Thanks
> 
>>>--
>>>
>>>Jason
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>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



-------------------------------------------------------
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_ide95&alloc_id396&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