Date: Sun, 4 Jun 2006 08:51:31 +0300 From: Odhiambo Washington <wash@wananchi.com> To: freebsd-isp@freebsd.org Subject: Bad newbie experience with Nagios Message-ID: <20060604055131.GC14207@ns2.wananchi.com>
next in thread | raw e-mail | index | archive | help
Hi List, I am ashamed going to ask the question on Nagios list, so I decided I=20 could ask here as well, since we have people using nagios here already. I have installed nagios-2.3.1, and nagios-plugins-1.4.3 on my 5.4-STABLE=20 box, via the ports. I believe I have read some very good documentation=20 after googling also. I almost feel confident configuring it, but I feel so stupid that it's not working as expected. I have defined some services, but all I get tends to suggest that these=20 hosts are down, while for sure they are not. How do I solve the problem of "CRITICAL - You need more args!!!", as that is what appears in all the reports sent to the contacts? I have manually tried running the commands, with the correct args and the clue I get leaves me clueless ;) For example, the check-host-alive command: warta# /usr/local/libexec/nagios/check_ping -H 62.8.64.6 -4 -w 3000.0,80% -= c 5000.0,100% -p 1 CRITICAL - You need more args!!! Could not open pipe: Now I am wondering whether "check_ping" has a problem, and whether it's the right plugin for checking if host is alive.... What would be my mistake if I used check_icmp command to see if host is=20 alive? Well, what is the solution to "Could not open pipe", if any? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ |\ _,,,---,,_ | Odhiambo Washington <wash@wananchi.com> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ "At least they're ___________=08=08=08=08=08=08=08=08=08=08=08EXPERIENCED i= ncompetents"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060604055131.GC14207>