Nagus: A Nagios filesystem for FUSE
A couple days ago I had the crazy idea of creating a Nagios filesystem for FUSE.
As you might probably know, FUSE allows easy creation of filesystems, like a Wikipedia filesystem, an SFTP filesystem, or real filesystems like ntfs-3g! So, as I’ve always wanted to have some sort of programmatic access to Nagios from my beloved shell, I decided to implement a Nagios FUSE, which I’ve called Nagus (the star trek reference is quite obvious, I guess).
I got it to Proof-of-Concept quality this morning (Monday March 15 2010), and I’ll be releasing it soon. In a snapshot, you use it like this:
MOUNT IT: ./nagus.py /mnt/nagus
It has this structure:
hosts
by-status
|—- ok
|—- warning
|—- critical
services
Inside ‘hosts’ appears a list of directories which match your Nagios list of hosts. The same happens in services, but that’s the final stage so I might change that, I don’t know yet (feedback is welcome).
In by-status you get 3 subfolders: ok, warning and critical, which if you use Nagios should be fairly obvious what means. Below that you’ll find proper categorization of ok/warning/critical hosts and services.
So, well, this is a new idea, so I will definitely need lots of feedback. I’ll twitter this and try to get many RTs.
Yours,
Buanzo.
Artículos relacionados:
- How to use Nagios to monitor Microsoft’s SNDS status for your mail servers
- I need feedback/ideas for one mod_auth_openpgp issue
- Fail2ban rules for lighttpd fastcgi alerts
- WebLorean: a syadmin tool. a security tool.
- Mi viejo BBS… renacido!
Si te gustó este articulo, ¿ Porque no dejas un comentario a continuación y continuas la conversación, o te suscribes a los feeds y recibes los artículos directamente en tu lector?
Hi Buanzo,
it seems that there are at least two “Nagios-FS”.
Your solution offers results collected on a Nagios server as files in a filesystem. My solution also offers a mount on a Nagios server but it shows “realtime” data of monitored (remote) hosts which will get by UDP if you do a “cat”.
A description is available at http://www.nagiosfs.de/ .
yours,
Frank