From: | Tim Clarke <tim(dot)clarke(at)manifest(dot)co(dot)uk> |
---|---|
To: | PostgreSQL General List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: monitoring PostgreSQL |
Date: | 2017-07-24 14:04:07 |
Message-ID: | 088068f3-e71d-3b75-afbc-82ea9efe7255@manifest.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 24/07/17 15:01, PAWAN SHARMA wrote:
>
>
>
> On Mon, Jul 24, 2017 at 7:28 PM, Tim Clarke <tim(dot)clarke(at)manifest(dot)co(dot)uk
> <mailto:tim(dot)clarke(at)manifest(dot)co(dot)uk>> wrote:
>
>
>
> On 24/07/17 14:47, PAWAN SHARMA wrote:
> >
> > Hi Tim,
> >
> > Facing below issue
> >
> > [abc(at)test:/home/psharm89/nrpe-2.15]#
> > Redirecting to /bin/systemctl restart xinetd.service
> > Failed to restart xinetd.service: Unit xinetd.service failed to
> load:
> > No such file or directory.
> > [abc(at)test:/home/psharm89/nrpe-2.15]#
> >
> > [abc(at)test:/home/psharm89/nrpe-2.15]#
> > #-> less /etc/xinetd.d/nrpe
> > # default: on
> > # description: NRPE (Nagios Remote Plugin Executor)
> > service nrpe
> > {
> > flags = REUSE
> > socket_type = stream
> > port = 5666
> > wait = no
> > user = nagios
> > group = nagios
> > server = /usr/local/nagios/bin/nrpe
> > server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
> > log_on_failure += USERID
> > disable = no
> > only_from = 127.0.0.1
> > }
> >
> >
> >
>
> xinetd is broken? restore the config from backup.
>
> Tim
>
>
> #-> /etc/init.d/nagios restart
> Restarting nagios (via systemctl): Job for nagios.service failed
> because the control process exited with error code. See "systemctl
> status nagios.service" and "journalctl -xe" for details.
>
And what do
"systemctl status nagios.service"
and
"journalctl -xe"
tell you?
Tim
From | Date | Subject | |
---|---|---|---|
Next Message | Jordan Gigov | 2017-07-24 14:05:10 | Re: pg_restore misuse or bug? |
Previous Message | PAWAN SHARMA | 2017-07-24 14:01:13 | Re: monitoring PostgreSQL |