Actually the init script is not ran if you're running it via xinetd. you should look for server_args in /etc/xinet.d/nrpe (usually this is the file name)
Diego On Thu, Oct 14, 2010 at 12:53 PM, Assaf Flatto <nag...@flatto.net> wrote: > On 13/10/10 00:04, Jonathan Wiggins wrote: > > <snip> > > the place to look is in the nrpe init script , usually found in the > /etc/init.d directory > > you are looking for the NrpeCfg parameter . > > Make sure to point it to the nrpe.cfg file you found. > > Assaf > > but then I see this also in the logs > nrpe[11817]: Unable to open config file '/usr/local/nagios/etc/nrpe.cfg' for > reading > when I do a "locate nrpe.cfg", its only found in one location: > /etc/nagios/nrpe.cfg --- looking at that file below- looks normal to me, > and where is the application pulling this other nrpe.cfg location from, and > how to change it? ((Or does that really not matter in this issue - seems > like it would - and I need to focus elsewhere>?)) > > > log_facility=daemon > > pid_file=/var/run/nrpe/nrpe.pid > > server_port=5666 > > #server_address=127.0.0.1 > > nrpe_user=nagios > nrpe_group=nagios > > allowed_hosts=127.0.0.1,10.0.100.130 > dont_blame_nrpe=0 > # command_prefix=/usr/bin/sudo > > debug=0 --> 1 > > command_timeout=60 > connection_timeout=300 > > #allow_weak_random_seed=1 > > #include=<somefile.cfg> > > include_dir=/etc/nrpe.d/ > > -- > Never,Ever Cut A Deal With a Dragon > > > Next year I will be doing the London to Paris bike ride to > raise money for the DogTrust (www.dogstrust.co.uk) . > Please Sponsor me at http://www.justgiving.com/Assaf-Flatto > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > 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 > -- Diego Roccia diego.roccia (at) gmail (dot) com ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net 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