Since I started my last job, I’ve been using Nagstamon on my workstation; it’s a really handy little system tray application that monitors a Nagios/Icinga instance and shows status updates/summary in a handy fashion, including flashing and (optionally) a sound alert when something changes. Unfortunately, there doesn’t seem to be a Fedora 17 package for it, though there is an entry on the Fedora package maintainers wishlist. The closest I was able to find is a repoforge/RPMforge package of Nagstamon 0.9.7.1, along with a source RPM.
Here are the steps to build that package on F17:
- Download and install rpm-macros-rpmforge.
- As root, edit /etc/rpm/macros.rpmforge and comment out the %dist macro, so we’ll still have the default “fc17″ dist tag.
- wget http://apt.sw.be/source/nagstamon-0.9.7.1-2.rf.src.rpm
- rpmbuild –rebuild nagstamon-0.9.7.1-2.rf.src.rpm
Hopefully this will help someone else as well. At the moment, Nagstamon is actually up to version 0.9.9, so hopefully I’ll build a newer package sometime soon.
i have already installed app. i did step by step – all work, thnx (sorry for my english)
If you want to utilize the latest version, 0.9.9, install src rpm vs rebuild. Edit spec file and change version to 0.9.9 and release to 1%{?dist}. You will need to remove the patch sections also, since 0.9.9 already has the patches. And since you are in the file, you can remove the Requires: rpm-macros-rpmforge. This is really not needed and will build and run perfectly fine without it.