Nrpe problem
Subhendu Ghosh
sghosh at sghosh.org
Fri May 9 18:28:11 CEST 2003
Umm... - that the C source code - not the cfg file...
-sg
On Fri, 9 May 2003, Ian Davidson wrote:
> It's the default nrpe.cfg file, but here's the first handful of lines...
>
> #include "../common/common.h"
> #include "../common/config.h"
> #include "nrpe.h"
> #include "utils.h"
>
> #ifdef HAVE_SSL
> #include "dh.h"
> #endif
>
> #define DEFAULT_COMMAND_TIMEOUT 60 /* default
> timeout for execution of plugins */
> #define MAXFD 64
> #define NASTY_METACHARS "|`&><'\"\\[]{}"
>
>
> int process_arguments(int,char **);
> void wait_for_connections(void);
> void handle_connection(int);
> int read_config_file(char *);
> int read_config_dir(char *);
> int add_command(char *,char *);
> command *find_command(char *);
> void sighandler(int);
> int drop_privileges(char *,char *);
> int check_privileges(void);
> void free_memory(void);
> int is_an_allowed_host(char *);
> int validate_request(packet *);
> int contains_nasty_metachars(char *);
> int process_macros(char *,char *,int);
>
> > -----Original Message-----
> > From: nagios-users-admin at lists.sourceforge.net
> > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf
> > Of Subhendu Ghosh
> > Sent: 09 May 2003 16:28
> > To: nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] Nrpe problem
> >
> >
> > On Fri, 9 May 2003, Ian Davidson wrote:
> >
> > > Hi all,
> > >
> > > I've installed the check-nrpe services on a remote machine and a
> > > central server. When running the check_nrpe command against
> > the remote
> > > host I see on the server...
> > >
> > > [central-server]# ./check_nrpe -H dc.lab.jnpr.net -p 5666
> > > CHECK_NRPE: Error - Could not complete SSL handshake.
> > > [central-server]#
> > >
> > >
> > > And in /var/log/messages on the remote host...
> > >
> > > May 9 15:57:54 dc nrpe[9459]: No variable value specified
> > in config
> > > file '/usr/local/nagios/nrpe.cfg' - Line 1 May 9 15:57:54 dc
> > > nrpe[9459]: Config file '/usr/local/nagios/nrpe.cfg'
> > contained errors,
> > > bailing out...
> > >
> > >
> > > Anyone got any ideas? I'm having to assume that the nrpe.cfg file I
> > > have is busted ... Or I've gotten something really wrong with the
> > > install.
> > >
> > > Cheers,
> > >
> > > Ian
> > >
> >
> > Would help if you posted parts of nrpe.cfg ....
> >
> > --
> >
> > -sg
> >
> >
> >
> > -------------------------------------------------------
> > Enterprise Linux Forum Conference & Expo, June 4-6, 2003,
> > Santa Clara The only event dedicated to issues related to
> > Linux enterprise solutions www.enterpriselinuxforum.com
> >
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at 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
> >
>
--
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list