Technology Insights

How To Remove Embedded Web Browser from:

This article will assist in removing any annoying User Agent displaying for Windows Internet Explorer.

You are probably curious what this is after you saw it in some web logs of some sort. It is likely from a legitimate application you have installed as some form of add-on to Internet Explorer. I did a bunch of reading trying to find out exactly how it got there but ended up concluding that it could have been any number of third party add-ons I have added to IE. So anyhow then I decided I did not want it showing up as my User Agent so I attempted to remove it following the steps below.

Technology Insights

How To Rotate The Cacti Logs File: cacti.log

Cacti is an open source tool that polls network devices and provides a web based interface to view historical data about these devices. It is a really great tool to monitor disk usage, network traffic, and pretty much anything else you can think of. When installing cacti it is easy to forget about the log that cacti generates and over time the log can grow in size especially if your configuration includes a logging level of DEBUG. Below I describe how to rotate the cacti log as well as turn down the logging level to LOW on a CentOS 5 server.

First lets set up logrotate to rotate the cacti log.

1. Install logrotate: yum install logrotate
2. Create Cacti config: vi /etc/logrotate.d/cacti
Add the below contents to the new file
/var/www/html/cacti/log/cacti.log {
# keep two weeks of versions online
rotate 14
# rotate the log each day
# compress the logs
# create new file with the correct user/group attributes
create 644 cactiuser cactiuser
# add a YYYYMMDD extension instead of a number
Make sure the path is the correct location for your cacti.log file.
3. Run logrotate: logrotate -f /etc/logrotate.conf

Technology Insights

Use One Wireless Keyboard And Mouse On Multiple Computers

This can be done using open source software called Synergy. This application allows you to connect the keyboard and mouse to one computer which acts as a server for those devices. The setup is intended to have multiple computers connected to multiple displays but only to have one keyboard and mouse. This is not to be confused with the use of KVM (Keyboard-Video-Mouse) switches which allow someone to have one monitor with multiple PC’s connected to it and via a button or dial you can switch between them. KVM switches have been used to connected only the keyboard and mouse while still having multiple displays. Synergy is more for moving between the devices without having to click a button. The software has not been developed on for a long time however there is support for Windows XP and Unix/Linux. I ended up not going with the Synergy solution because I decided I could just manage the Linux servers at my house from a shell but wanted to write about it in case others had the need to share a wireless keyboard and mouse in this scenario. Read below about installing Synergy.