|
From: DeShong, K. <kde...@he...> - 2010-11-03 18:16:17
|
Maybe I have a newer build but my crontab already had those lines in it. Just had # in front of the command line. I removed the # and did the test you described and it told me which switches had config changes and then saved them. Ken DeShong Network Engineer USF Health Information Systems University of South Florida 12901 Bruce B. Downs Blvd.,MDC 51 kde...@he... 813-974-6288 "There are 10 types of people in the world. Those who understand binary, and those who don't" -----Original Message----- From: Brian De Wolf [mailto:br...@bl...] Sent: Tuesday, November 02, 2010 8:12 PM To: DeShong, Ken Cc: net...@li... Subject: Re: [Netdisco] Change VLAN On Tue, 2 Nov 2010 10:44:08 -0400 "DeShong, Ken" <kde...@he...> wrote: > Thanks Brian for your response. I'm new the Linux world, what do I do with the file? Will this automatically make the changes to my settings? > Since only this file changed, you might be better off replacing your "netdisco" file with the one right after I applied this patch (make a backup of it first, of course): http://netdisco.cvs.sourceforge.net/viewvc/netdisco/netdisco/netdisco?revision=1.184 I'm not sure how much help you need, but I'll list the commands anyway. Something like this would be appropriate: wget 'http://netdisco.cvs.sourceforge.net/viewvc/netdisco/netdisco/netdisco?revision=1.184' -O /tmp/netdisco cd /usr/local/netdisco cp netdisco netdisco.backup cp /tmp/netdisco . If anything goes wrong, just "cp netdisco.backup netdisco". When grabbing files from between releases, there's a chance that there will be some breakage introduced... Once installed, you can test it using something like "./netdisco -j <minutes>". If any jobs occurred in the last <minutes> minutes, it will write the config on those devices. Once everything looks okay, you can add a cronjob like this one to netdisco's crontab: # Save configs every hour on the hour 0 * * * * /usr/local/netdisco/netdisco -b -j 61 Ta-da, your configs will now be saved when someone makes a change! |