Turn your Cisco PIX Syslog files into Graphs using Syslog Junction.

I was setting up a bunch of monitoring at work as we hadn’t have that much implemented. I ran into this application in a random fashion. Sys Junction is an application that graphs out syslog data from Cisco PIX firewalls.

I was setting up a bunch of monitoring at work as we hadn’t have that much implemented. I ran into this application in a random fashion. Sys Junction is an application that graphs out syslog data from Cisco PIX firewalls.

The setup is simple, you download the install archive, extract it and then run the install script “run.sh”. You will need to make sure that the file has executable permissions, since my install was a linux install (they also have a windows version). Run “chmod u+x run.sh” beforehand. You would think that from reading the documentation the install would occur, but no install actually occurs. Once you type “run.sh” the application forks into the background and starts printing random logging information on your terminal. It doesn’t even install as a service, you have to do this yourself.

Now that you have Syslog Junction running, you can open up your web browser and point it to “http://127.0.0.1:11052” or the IP address of the server you have it running on. You should see a login screen, enter in the default login information which is “admin/letmein”. And bam you either see graphs or no graphs!

I didn’t have graphs! I look back now and think, should have spent 3 hours on trying to get this to finally work or not? Was it worth all the trouble of trying to figure out the problem instead of having a Install Document or any type of information other than a couple pages of a PDF file with only a couple pages of information.

After look at the logs in the folder “logs”, I see in the file “SLJunction.log”. So I decide to tail it to see whats in it. And Viola! I get an error message

2007-11-20 16:12:29,640 ERROR sljunction.SLJunctionApp - Unable to start Syslog server. Address already in use

So I ponder to myself and do what anybody in my position would do, start grinding out the debugging tools. So I run netstat:


[root@pablo:/var/www/default/SLJunction/logs]# netstat -nlp | grep syslog
udp 110400 0 0.0.0.0:514 0.0.0.0:* 4646/syslogd

Oh and look syslog had the -r option for remote machine logging. So I disabled syslog and start Syslog Junction again and no more error. But instead of getting pretty graphs, I get blank ones again.

After further testing it look as though you have to make sure that your Cisco PIX is sending only Informational syslog data otherwise it pick up the traffic.

All in all, a good application, but time consuming!

Visit the Syslog Junction site.

0 Shares:
You May Also Like

Samsung’s Sexy Hybrid Hard Drive

Good Idea, but is it practical? Will there really be a difference while booting and loading data? Waiting for Solid State Disk's will be a better choice, Dell's new M series laptops will have 32G SSD's.
Samsung’s Sexy Hybrid Hard Drive -

hybridhdd_lg.jpgNo, this hybrid hard drive isn’t actually sexy (though it is topless) and it is difficult to get excited about hard drives in general. But, since Samsung’s still an underdog in the category, the company’s doing its best to innovate the space instead of just cranking out larger sizes (though it did that, too). The 2.5-inch MH80 notebook hard drives feature 256MB of integrated flash memory to help you boot faster (though only about 10 seconds faster), wake from hibernation mode faster and get up to 25 percent more battery life for your laptop (though that’s compared to Samsung’s own M80 HDDs).

(more…)

[CrunchGear]

BlockHosts 2.0.5 (Default branch)

BlockHosts 2.0.5 (Default branch) - BlockHosts is a script to record how many times a local system is attacked, based on configurable scanning of system logs for sshd or other services. When a particular IP address exceeds a configured number of failed login attempts, that IP address is blocked using hosts.allow files, or by using null-routing, or by using packet filtering. An email notification facility is also available. License: Public Domain Changes:
This release updates the vsftpd rule and adds an --enable-patterns option to enable specific rules at run-time. Email notification is now sent on both adds and deletes of host IP addresses, and the source distribution includes the test routines.

[FreshMeat]

New LinuxCOE helps admins customize distros

This is a really neat idea. You can roll all of your scripted installations for all of your distributions into one application, instead of configuring each distributions application. For example, if you wanted to install RedHat, you no longer need Kickstart. The same would go for Ubuntu, no more preseed. Just one application to handle all of the scripted installations.
New LinuxCOE helps admins customize distros - Hewlett-Packard released version 4 of its Linux Common Operating Environment (LinuxCOE) software this month. LinuxCOE is a front end to a set of Perl scripts that helps administrators by building customized install images for various Linux... [Linux.com]