Software :: Rancid - Pull Config Different From HP Procurve Switches

Jan 3, 2011

Posting this one in Software rather than Networking as it appears to be a Rancid/CVS/Diff issue rather than anything relating directly to Networking. Trying to pull config diffs from HP Procurve switches. Latest versions of Tcl, Expect, diff stat, and 2.3.5 Rancid. Getting random characters changes and white space changes seen as diffs. Things like ";password manager <removed>" in one config showing up in the next chrons run as "c5# ord manager". This generates a new email every time.

Since we have these going directly into our ticketing system for change control, these pile up over time and need to be parsed out from actual config changes. I've tried various diff switches in the control_rancid. Current command string in the control_rancid file is "cvs -f diff -TwbB -U 4 -ko | sed -e '/^RCS file: /d' -e/^--- /d' -e '/^+++/d' -e 's/^([-+])/1 /' >$TMP.dff" I've also tried looking in the hrancid, hlogin, and htlogin files for more hints that might be scrambling my diffs, but no luck. Here's a sample of what shows up in the ticket queue.

[Code]....

View 4 Replies


ADVERTISEMENT

Networking :: Sendmail Configuration Work With RANCID?

Nov 14, 2010

I'm new to Linux which just installed a new virtual CentOS server to try RANCID to pull router configuration and I succeed to pull out the configurations as I wish, but I failed to receive a notification email from the server.After a few tries, I realize that I need to configure sendmail to work with RANCID to send an email! And I also tried to configure sendmail files, but failed..I totally blank and don't how to configure sendmail, anyone here can guide me? What is the must to configure to make sendmail to work with RANCID? Do I need to configure my server as mail server?1. A server that I configured a sendmail is called mail server?2. What is my mail server's name and domain name? . lnx-svr01.site.net, lnx-svr01 is my mail server name and site.net is my domain name

View 5 Replies View Related

Programming :: Pull The IPs One By One From The File And Then Ban?

May 4, 2010

Code:
#!/bin/sh
egrep -o 'SRC=[[:digit:]]{1,3}.[[:digit:]]{1,3}.[[:digit:]]{1,3}.[[:digit:]]{1,3}' /var/log/messages | sed 's/SRC=//g' | sort | uniq > /badips.txt

[Code]....

how do i pull the IPs one by one from the file and then ban?

View 1 Replies View Related

CentOS 5 :: Svn Server Config - Understanding Location Svnpath Parameter On Svn Config

Sep 7, 2009

I was tryin to deploy svn on centos 5 with respect to [URL] I am stuck understandin the location svnpath parameter on svn config

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Config - Change / Add From The Default OpenSSH Config Files To Get Tunnelling To Work?

Jul 10, 2011

I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:

Code: ssh -ND localhost:8080 george@192.168.1.20 I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.

View 3 Replies View Related

Slackware :: How To Save Needed Modules Config To Create .config?

Apr 9, 2011

I am running a server with a GRSecurity patched Kernel 2.6.32.36. I've tried to optimize the kernel as much as I can and know it (removing options, not needed drivers and so on) and compiled the modules into the kernel (no loadable modules anymore). I've started with Slackware 13.0 and the default config for 2.6.29.6-huge. Still I am not sure what to remove/optimize further now.

My question: Is there a way to boot with a kernel with loadable modules, check which modules are really needed for this hardware, (do something like lsmod) and save the running configuration modules for a next kernel compile to be the default .config instead of writing them down by hand and search for the appropriate names in .config or during menuconfig? (Note: zcat /proc/config.gz > .config is NOT the way I want, as it gives me just the current kernel config)

View 5 Replies View Related

Fedora :: Custom Kernel - Where To Pull RPM

Jun 18, 2011

This is (I'm sure) a silly question, but when reading the guide for custom kernel [url] it mentions I need to use yumdownloader to pull the source as an RPM.

How exactly do I find mirrors etc for this (and where do I configure it)?

I've already got the source locally along with the patches I want to use, and want to try this the 'fedora' way. I'd normally just use make/make modules etc, but I've never tried it via RPM.

View 4 Replies View Related

General :: Pull Process / Job Into Background

Jan 17, 2011

I know of terminating a command with & and then moving it into the background by pressing Ctrl-Z and then bg [pid], and I also know of nohup. But say you started a process that turned out to take much longer than one expected, is there a way of pulling, so to speak, this process from another terminal screen into the background so that even if I log off from the server the process would continue?

View 2 Replies View Related

Ubuntu :: How To Pull Software Out And Install

Mar 30, 2010

I have a pretty good understanding of what is in the package mgt rep and how to pull software out and install. BTW this is the greatest software install tool ever created.But really my question is about software for UBUNTU that is not in the rep. Has anyone compiled a list and/or reviews of the software that is out there. I'm looking for companies that actively writing software for Linux and in particular UBUNTU and what kind of products they have.

View 3 Replies View Related

Ubuntu :: Pull The Music In The Background From A Song?

Apr 8, 2011

does anybody know a program that pull background music from a song.. even in alpha or beta trails

View 3 Replies View Related

General :: Pull Up The Task Manager And Hit Ctrl+Alt+Esc

Mar 25, 2011

I was trying to pull up the task manager and hit Ctrl+Alt+Esc.

A white X came up, and now my desktop is a big black screen. How do I revert back??

View 4 Replies View Related

Programming :: How To Pull Node Pointers Out Of The Model

Mar 25, 2010

I am trying to find a way to pull Node Pointers out of the model, for use in other areas of the program. The solution is probably simple but I haven't had any luck finding it.

Model for a QTreeView:

Code:

class testModel : public QAbstractItemModel
{
public:
testModel();
~testModel();

[code]....

View 2 Replies View Related

Programming :: Script To Pull Files From Windows?

Jul 2, 2010

I have a script in Linux that generates a report on my Linux machine. I would like to know if there is anyway I can write a script to pull this report automatically from my Linux machine into my windows machine. Both Linux and Windows machines are on the same network

View 1 Replies View Related

Programming :: Unable To Pull And Store Certificates?

Dec 21, 2009

I have to pull certificate from multiple computers which are on network and store it in a single fie or each file belong to a particular computer.I am using certutil -store to import the certificate.

View 4 Replies View Related

Ubuntu :: Mounting DD Image To Pull Off Individual Files?

Mar 29, 2010

I have a gziped dd image backup of my entire hda drive (osx and ext4 partitions) that I created with the following command:
dd if=/dev/sda |gzip > image032810.gz
Can I mount this image file to pull off individual files from individual partitions?

View 6 Replies View Related

Ubuntu :: Pull Up Emerald Theme Manager In Terminal?

May 4, 2011

you know how you can pull up CCSM through terminal?

is there a command to pull up emerald theme manager in Terminal?

View 1 Replies View Related

Ubuntu :: Pull Compiz Back Up With Out Unity Enabled?

May 17, 2011

Installed compiz to tweak settings and I guess I unchecked the box for unity how can I pull compiz back up with out unity enabled?

View 2 Replies View Related

Ubuntu :: Script To Pull Data From Remote To Local

Jul 1, 2011

I want to have a script that pull db from remote server to my local. Beside that the filename should contain current date the time the db was dumped.

Ex: getdb databaseName

Then the filename should be like this:

So basically I have an archive of DB. Similar to this I need also a script that pull directory from remote to my local.

Ex: getdir htdocs

Then the filename should be like this:

View 1 Replies View Related

Ubuntu Multimedia :: Any Way To Pull Up Deleted History With Terminal

Jul 11, 2011

Is there any way to pull up deleted history with terminal and delete it permanently so that even a computer forensic couldn't pull it back up?

View 2 Replies View Related

General :: Compare Files And Pull Out Required Data?

Nov 10, 2010

I have 2 files to compare and then print out information that match a certain pattern. I know basic scripting and was heading down the path of merging the 2 files together but this is the wrong approach. Would really appreciate a script that can do what is required:

file 1 contains dates, times and ID's:
2010-10-28 10:42 5939697357
2010-10-28 11:56 5919543491

[code]...

View 4 Replies View Related

General :: Pull String From A File Into A Variable Using Bash

Aug 6, 2011

I have a file (.tmpfile) and inside it is a string which i only know part of, the rest being a random group of characters... I would like to know how to pull the whole string out of the file and into a variable.

View 13 Replies View Related

Programming :: Grep And Pull The IP Based On The Request String?

May 5, 2010

in the access logs i have this:

Code:
IP.IP.IP.IP - - [01/May/2010:11:21:10 -0400] "BIG STRING" 414 250
how can i grep and pull the IP based on the request string?

View 7 Replies View Related

Programming :: Pull Http Links Out Of Text Files?

Aug 15, 2010

I am trying to figure out a way to pull http links out of text files and then output the results in a log. The text files are in folders like this inside a source directory.

/source
./folder1
...folder1.txt
./folder2
...folder1.txt

[Code]....

View 4 Replies View Related

Red Hat :: Push / Pull Windows Printers To Redhat Cups?

Apr 21, 2010

I would like to know if it is possible to push or pull all Windows printers (about 1000) to Redhat Advanced Server? I know normally Samba comes into play, but there i can only make connection to 1 printer at the time. Also, I must then add the printers from the Windows Print Cluster by hand. Considering the huge amount of work AND the manageable aspects ( you will then have the printers on two servers), this is not an option.

So, can I connect from the RedHat server directly to the Windows Print cluster, or, if not, at least load all printers in the CUPS configuration at once? Then I have at least connection. It's a Windows 2003 R2 print cluster with RedHat 5.3 Advanced Server. Eventually the RedHat environment will be a cluster.

View 3 Replies View Related

General :: Using A Config Directory Instead Of A Config File?

May 7, 2011

I currently can run an old swf on my Chumby 8 device by storing and using these three files on a USB plugged into the device

config
<?xml version="1.0" encoding="utf-8" ?>
- <config>

[code]...

View 1 Replies View Related

Ubuntu :: Monitor Switches Off - Cannot Get It To Restart

Aug 19, 2010

I'm running ubuntu 10.04 on a new pc I just bought. Every so often the monitor will just shut down and display a message: "no signal input". I'm sure the computer is still running though because the fan is still running and all lights etc. are still on. I've tried switching the monitor on and off and there is still no input signal, the only solution is to reboot the entire computer.

View 9 Replies View Related

Debian Multimedia :: Pull-down Corners Showing Up In Weird Places

Jun 2, 2011

I have a pull-down corner on both of my gnome-panels. If I hover my mouse over it, i even get the resize cursor, but you can't actually resize the panel. I'm also seeing them on my screenlets. See the shot below:

The pull-down corners are in the red boxes. It's very clear in the top box on the gnome-panel; it's a little harder to see in the bottom one on the weather screenlet, but it's there. I have a bottom gnome-panel, too, and it's on that one, as well. I just recently noticed them, but I'm not sure where they came from. Does anyone know how to get rid of them? It's not really causing any problems. It just bothers me because I'm a bit of a perfectionist. I've tried searching the web and the forums for a solution but I'm having a hard time finding anything because I don't know the official name for that design element.

View 3 Replies View Related

Fedora :: Removing Shutdown/Restart In Pull Down Menu And Login In 13?

Sep 20, 2010

I have a workstation with Fedora 13. This workstation is used for very long remote processes. Recently it has been shutdown accidentally by a user and has caused the loss of some of these processes. As such, for precautionary reasons, I have decided to remove these options from all our workstations so that only the super user can initiate reboots or shutdowns.

In previous versions I was able to do this by using gdmsetup and unchecking the Show Action Menu option. This also added the SystemMenu=false flag under [greeter] in the /etc/gdm/custom.conf file. This was under RedHat EL5. However in Fedora 13 neither of these methods work. Gdmsetup no longer exists and adding that flag to the custom.conf file does not work. I rebooted after editting the file and the shutdown option still appears at login.

View 2 Replies View Related

Ubuntu :: Firefox Loses Pull Down Menus And Right Click Menu?

May 18, 2010

I'm running 10.04 w/ Firefox 3.6.

Often, and esp after adding something with apt-get or Synaptics I find Firefox will lose the ability to display either pull down menus or a menu from a mouse's right button.

I've been doing some initial searches for a bug report on Launchpad (but it is unclear if it is being used to actively track bugs vs some other place).

My 'hit it with a hammer' approach to a fix, at least to this point, is to reinstall from the local store or cache, the application;

Synaptic
Status Filter
Firefox (in the Quick Search field)
Mark the existing Firefox for Reinstallation

No files get downloaded, but a restart of Firefox and 'tada'; menus return.

View 2 Replies View Related

Ubuntu Servers :: Dist-upgrade Wants To Pull In Irrelevant Packages

Jun 22, 2011

I've been running an overnight cron job for months on my servers which tells me what apt-get dist-upgrade wants to do.

This morning I was faced with it wanting to install 115 new packages including many (if not all - I can't face checking, e.g. firefox) which are entirely pointless on a server with no gui.

apt-get upgrade wants to do the sensible (in my mind) thing.

To save anyone asking, I've been using dist-upgrade because upgrade wouldn't report on pending kernel upgrades and, until I spotted that, I was due kernel upgrades for quite a while before I realised.

I presume this is caused by an over-enthusiastic depends or recommends somewhere but does anyone actually know?

Off to work now but I'll look further this evening so any pointers before then gratefully received.

All ok again now, the bug with language pack dependencies has been fixed - [URL]

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved