From: Larry N. <ln...@as...> - 2005-03-17 20:13:02
|
My services are defined as: check_ping! 3000.0,80% ! 5000.0,100% Does the spaces ^ or ^ ^ here matter? They = work fine for our UP hosts.=20 My command is: $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ = -p 5 (the same as your) I checked and the /bin/ping on my cent-os-4 system shows: /bin/ping -n -U -c 5 xxx.xxx.xxx.xxx = is OK numeric output ^^ user to user latency ^^ and count ^^ Larry Wayne Naves, Jr. "Jay" Systems Analyst Computer Sciences Corporation / Alabama Supercomputer Authority=20 -----Original Message----- From: Davy Gaussen [mailto:nag...@sn...]=20 Sent: Thursday, March 17, 2005 9:35 AM To: ln...@as...; Nag...@li... Subject: Re: [Nagios-users] RE: RE: check_ping works fine from command = line but cgi shows ping resultsas "unknown" What are your arguments ? Here are mine : check_ping!100.0,20%!500.0,60% and the command is : $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 However, I think that your /bin/ping command (in your system) have a different response when a host is unreachable than the check_ping = expected. (sorry for the english) ----- Original Message ----- From: "Larry Naves" <ln...@as...> To: <Nag...@li...> Sent: Thursday, March 17, 2005 3:23 PM Subject: [Nagios-users] RE: RE: check_ping works fine from command line = but cgi shows ping resultsas "unknown" > I am still having this problem after replacing check_ping (1.2) with (1.3). > My problem is a little different though check_ping works great when=20 > the host > is reachable, if the host is unreachable (literally not because of a=20 > down > parent) the check returns /bin/ping -n -U -c 5 xxx.xxx.xxx.xxx and the = > status is UNKNOWN. Why does the plugin not just return host-down or=20 > unreachable, etc. Should I try a different check_ping? > > >Great!!! > > Thanks Davy! > > I unpacked and compiled the nagios-plugins 1.3.1 and extracted >the = > >check_ping into my libexec/ dir and everything started to work = >again. > > > Davy Gaussen escribi=F3: > > > > >Hi, > > > >I had this problem to, try to install the nagios-plugins version=20 > 1.3.x, the >new ones have compatibilities issues with the ping=20 > command of some new >system. > >It worked fine for me. > > > >Davy > > > >----- Original Message ----- > >From: "Cristobal Sabroe Yde" <cris@cd...> > >To: <nagios-users@li...> > >Sent: Wednesday, March 16, 2005 3:02 PM > >Subject: [Nagios-users] Re: check_ping works fine from command line=20 > but cgi >shows ping resultsas "unknown" > > > > > > > > > >>Hi, I have the exact same problem running SuSE 9.1. > >> > >>I can use ping and check_ping under the nagios user in command line = > but >>the cgi returns: > >>PING UNKNOWN ... /bin/ping -n -U -c 5 xxx.xxx.xxx.xxx > >> > >>Nagios 2.0b1 (tried 2.0b2 as well) > >>Plugins 1.4, > >>Dist: SuSE 9.1 > >>uname -a: Linux moni 2.6.5-7.147-default #1 Thu Jan 27 09:19:29=20 > UTC > >>2005 i686 athlon i386 GNU/Linux > >> > >>If anyone could solve this problem, please let me know. > >>Thanks! > >>------------------------ > >> > >>Dirk, > >> > >> have you tried running ping (or the plugin) as user nagios or as = root? > >> > >> Probably it"s an access rights problem... IIRC Fedora activates selinux > >> enhancements and thus it might be necessary to change these to=20 > allow the > >> nagios user access to the network interface. > >> > >> Arno > >> > >> > >> > >> > >> > > > > > > > > > > > > Larry Wayne Naves, Jr. "Jay" > Systems Analyst > Computer Sciences Corporation / > Alabama Supercomputer Authority > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 3/15/2005 > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & candid=20 > reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=CCk > _______________________________________________ > Nagios-users mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 3/15/2005 =20 --=20 No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 3/15/2005 =20 |