Nagios on GoFlex

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Nagios on GoFlex

Postby greywolf » Wed Feb 13, 2013 5:18 am

Hi everyone,

I was wondering if it is possible to get Nagios running on a GFN, has anyone managed to do it yet, if so how does it run?

I was thinking that it would be a great little device to have some sort of monitoring tools on to monitor a home network and notify when the internet drops off, when things are still on when they should be off etc, any alternatives to Nagios?
greywolf
 
Posts: 7
Joined: Sun Feb 10, 2013 11:05 am

Re: Nagios on GoFlex

Postby pepedog » Wed Feb 13, 2013 9:16 am

It's in the aur and doesn't appear to be x86 binaries
https://aur.archlinux.org/packages/nagios/
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Nagios on GoFlex

Postby greywolf » Wed Feb 13, 2013 10:30 am

yeah I saw it was in the AUR repo but wondered if anyone has had any luck with getting either nagios or an alternative working on a goflex. I guess because it is x86 there is no chance of getting nagios working on goflex
greywolf
 
Posts: 7
Joined: Sun Feb 10, 2013 11:05 am

Re: Nagios on GoFlex

Postby pepedog » Wed Feb 13, 2013 1:22 pm

Give it a try
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Nagios on GoFlex

Postby greywolf » Thu Feb 14, 2013 11:42 am

Ok, so I managed to get it to this state "/download/nagios/nagios-3.4.4-1-arm.pkg.tar.xz" but during the build of the package I get a bunch of errors like this '../common/macros.c:128:6: warning: variable ‘x’ .....'

I am still a newbie so I am good with google ;) but not so good with trouble shooting stuff like this.

Any ideas, or is there an alternative to nagios?
greywolf
 
Posts: 7
Joined: Sun Feb 10, 2013 11:05 am

Re: Nagios on GoFlex

Postby ebbix » Thu Feb 14, 2013 4:09 pm

Well as long as it only states Warning, not error, it should build just fine.
ebbix
 
Posts: 48
Joined: Fri Aug 10, 2012 1:55 pm

Re: Nagios on GoFlex

Postby pepedog » Thu Feb 14, 2013 4:43 pm

Webmin can monitor local server
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Nagios on GoFlex

Postby Kurlon » Thu Feb 14, 2013 8:56 pm

Nagios is a very thick service to be tossing onto a little GFN for light home monitoring. Depending on what you're looking for I'd lean towards Cricket (Stat gathering) or Big Brother (Up/Down alerting) first.
Kurlon
 
Posts: 132
Joined: Fri Jan 06, 2012 10:05 pm

Re: Nagios on GoFlex

Postby greywolf » Fri Feb 15, 2013 8:00 am

$this->bbcode_second_pass_quote('Kurlon', 'N')agios is a very thick service to be tossing onto a little GFN for light home monitoring. Depending on what you're looking for I'd lean towards Cricket (Stat gathering) or Big Brother (Up/Down alerting) first.


Hey Kurlon,

Big Brother looks great, that is essentially what I am after, something to ping the devices on my home network and advise when things are up and down. I also monitor and manage a bunch of websites and would love to know when they go down for any reason so Big Brother sounds like a winner. The only thing is, it is not in AUR :(

Any other suggestions for a network state monitoring (up/down) with email alerting.

BTW, I can get nagios installed but the page doesn't display and I get this in the systemctl status:
$this->bbcode_second_pass_code('', '[root@goflex_nagios ~]# systemctl status nagios.service
nagios.service - Nagios Monitoring System
Loaded: loaded (/usr/lib/systemd/system/nagios.service; enabled)
Active: active (running) since Thu 1970-01-01 10:00:18 EST; 43 years 1 months ago
Main PID: 199 (nagios)
CGroup: name=systemd:/system/nagios.service
└─199 /usr/bin/nagios /etc/nagios/nagios.cfg

Feb 15 18:56:13 goflex_nagios nagios[199]: Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Feb 15 18:56:45 goflex_nagios nagios[199]: sh: /usr/share/nagios/libexec/check_http: No such file or directory
Feb 15 18:56:53 goflex_nagios nagios[199]: Warning: Return code of 127 for check of service 'HTTP' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Feb 15 18:56:53 goflex_nagios nagios[199]: Warning: Return code of 127 for check of service 'HTTP' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Feb 15 18:57:23 goflex_nagios nagios[199]: sh: /usr/share/nagios/libexec/check_ping: No such file or directory
Feb 15 18:57:33 goflex_nagios nagios[199]: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Feb 15 18:57:33 goflex_nagios nagios[199]: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Feb 15 18:58:00 goflex_nagios nagios[199]: sh: /usr/share/nagios/libexec/check_disk: No such file or directory
Feb 15 18:58:03 goflex_nagios nagios[199]: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Feb 15 18:58:03 goflex_nagios nagios[199]: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
[root@goflex_nagios ~]#
')

I know I shouldn't be installing this as root though I am on the road of learning and this is just on a USB drive that I can blat and start again when I prove that it can either be achieved or not :)
greywolf
 
Posts: 7
Joined: Sun Feb 10, 2013 11:05 am

Re: Nagios on GoFlex

Postby greywolf » Fri Feb 15, 2013 9:16 am

Ok.... Update...
Nagios actually runs really well on the GoFlex :)

My issue was that I forgot to install php-apache... duh.

So I have proven that Nagios, although an overkill for what I want, actually does run up nicely on the GoFlex with all of the base features working quite well. I even managed to get the monitoring working on the GoFlex :D

BUT, as mentioned, is an overkill for monitoring a home network ;) but that aside... IT WORKS :D

Any other recommendations on an up/down monitoring tool with a nice little GUI would be greatly appreciated
greywolf
 
Posts: 7
Joined: Sun Feb 10, 2013 11:05 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 105 guests