Archive

Archive for July, 2012

Cloudshark

July 28th, 2012 No comments

Cloudshark is another nice tool if you want other people to take a look at your captures. Don’t use it for anything with security relevant data, passwords, …

They also sell an appliance so you can use this service in your enterprise (I’d realy like to test that).

Categories: networking, tools, wireshark

Happy Sysadminday

July 27th, 2012 No comments

I know your users will not recognize your work but happy Sysamdminday anyway.

Categories: misc

sage@guug Berlin August 2nd 2012

July 26th, 2012 No comments

This time Carsten Strotmann will talk about Lesser known DNS tools and BIND tricks.

Well meet at 19:00 o’clock TU Berlin, Telefunkenhaus, 11. Floor, Room 1118. Ernst-Reuter-Platz 7.

If you want to join us for beers afterwards (about 20:15) please register.

Categories: Berlin, sage@guug

IPvFox

July 26th, 2012 No comments

Nice Firefox plugin.

List the hosts, and corresponding network addresses, from which a page and its resources are loaded.

Categories: ipv6, tools

Moving

July 25th, 2012 No comments

In the next couple of days this Blog and other services running on this server will be moved to a new server. Stay tuned.

Categories: misc

icli

July 10th, 2012 No comments

Most of my work is done on the command line. My mail (Gnus) , IRC (irssi) and jabber client (irssi + bitlebee) are all running inside a screen session. I now added
icli to another screen window to keep track of my monitoring

Just calling icli will list all checks, I usualy just filter for service that are either warning or critical (or not okay) using the option -z \!o.


root@mon:~# icli -z \!o
file.example.com
APT-Status WARNING APT WARNING: 13 packages available for upgrade (0 critical updates).

web.example.net
SSH CRITICAL Server answer:

dev.example.com
APT-Status WARNING APT WARNING: 31 packages available for upgrade (0 critical updates).

web1.example.net
HTTP WARNING HTTP WARNING: HTTP/1.0 404 Not Found - 869 bytes in 0.123 second response time

blog.example.net
WordPress example.net CRITICAL Your core is out of date! 3.4 -> 3.4.1

Categories: Monitoring, tools

check_mk (IV)

July 9th, 2012 No comments

Now it’s time to add some host, service and contact groups to our check_mk config. You can configure those either within main.mk or using the normal Nagios / Icinga configuration.

I’ll use the configuration in main.mk for the following examples. To create groups you can use tags so mark
a specific host as member of a specific group. You can either manually create the groups or let check_mk take care of defining the groups.


define_hostgroups = True
define_servicegroups = True
define_contactgroups = True

host_groups = [
( 'NET', [ 'NET' ], ALL_HOSTS ),
( 'WEB', [ 'WEB' ], ALL_HOSTS ),
( 'INTERNAL', [ 'INTERNAL' ], ALL_HOSTS ),
]

host_contactgroups = [
( 'NET', [ 'NET' ], ALL_HOSTS ),
( 'WEB', [ 'WEB' ], ALL_HOSTS ),
( 'INTERNAL', [ 'INTERNAL' ], ALL_HOSTS ),
]

service_contactgroups = [
( 'NET', [ 'NET' ], ALL_HOSTS ),
( 'WEB', [ 'WEB' ], ALL_HOSTS ),
( 'INTERNAL', [ 'INTERNAL' ], ALL_HOSTS ),
]

Categories: Monitoring

etckeeper

July 8th, 2012 No comments

Keeping track of changes made in /etc can be very hard. Recently I decided to give etckeeper a try an so far I like it very much. ectkeeper hooks into apt and whenever an update make any changes those are checked into git. You can also commit changes you’ve done manually to any file in /etc. Besides file content, etckeeper also tracks file permissions and ownership.

To see what has changed since the the last commit just type git status


root@mon:/etc# git status
# On branch master
# Changed but not updated:
# (use "git add ..." to update what will be committed)
# (use "git checkout -- ..." to discard changes in working directory)
#
# modified: check_mk/main.mk
# modified: icinga/icinga.cfg
# modified: icinga/objects/check_mk/check_mk_objects.cfg
#
no changes added to commit (use "git add" and/or "git commit -a")

You can than commit with etckeeper commit and use git status to see what has changed.

Categories: linux, tools