Currently Browsing: Ubuntu

Logserver with Elasticsearch / Logstash / Rsyslog / Kibana on Ubuntu 14.04

In this Documentation I will show how to install and configure Elasticsearch (Log Store and search) / Logstash (Log forwarder) / Rsyslog (Syslog) / Kibana (Web GUI). Logstash will get the Logs from Rsyslog, with this setup it is possible to send standard syslog to the Logserver. The goal is to use whenever possible Repositories so that we can do easy upgrades via apt-get && apt-get upgrade of the packages. Setup Elasticsearch Elasticsearch is a search server based on Lucene. It provides a distributed, multitenant-capable full-text search engine with a RESTful web interface and schema-free JSON...
read more

Howto Install MIBs in Ubuntu

Install MIBS downloader sudo apt-get install snmp-mibs-downloader sudo cp /usr/share/doc/snmp-mibs-downloader/examples/cisco* /etc/snmp-mibs-downloader/ cd /etc/snmp-mibs-downloader && sudo gzip -d ciscolist.gz change /etc/snmp-mibs-downloader/snmp-mibs-downloader.conf to BASEDIR=/var/lib/mibs AUTOLOAD="rfc ianarfc iana cisco" change /etc/snmp-mibs-downloader/cisco.conf to HOST= ARCHIVE=v2.tar.gz ARCHTYPE=tgz DIR=pub/mibs/v2/ ARCHDIR=auto/mibs/v2 CONF=ciscolist DEST=cisco edit /etc/snmp-mibs-downloader/ciscolist and remove lines containing CISCO-802-TAP-MIB...
read more

Setup SNMP Tools / OID Conversion check

If you ever have setup an snmp client on a Linux System you know how difficult it is to get SNMP Mibs, do the OID Translation etc. The following shows howto setup SNMP on a Ubuntu Linux Host Setup SNMP apt-get install snmp Comment out the line mibs : in the file /etc/snmp/snmp.conf OID Conversion check In its simplest form, snmptranslate takes a numeric OID and displays the corresponding textual MIB name # snmptranslate . SNMPv2-MIB::sysUpTime.0 It can also perform the reverse translation, taking the textual MIB name and displaying the numeric OID. This uses the -On flag #...
read more

Remove / Delete Old Kernel from a Ubuntu Linux

dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge
read more

Mobile Internet Connect via Bluetooth

The following describes howto activate a connection between a ubuntu linux desktop and a bluetooth mobile device. The example script /etc/chatscripts/bluetoothconn is created for swisscom connection. The script will be adaptable for other providers without any problems. Thanks for Patrick for his help. Bluetooth History   Harald Bluetooth   Harald Bluetooth Prerequisites Packets Packets to install (Ubuntu 7.10) Optional Packets: bluetooth bluez-utils bluez-pin (ev. nicht in Repo) You have to install the following packets: gnome-vfs-obexftp Install it with sudo apt-get install...
read more

« Previous Entries