Page 1 of 1

Problems for enable npcd.service

Posted: Wed Sep 23, 2020 1:06 pm
by SCVIP
Hi all.

This week we have installed Nagios Core Agent v.4.4.5 in a new Ubuntu 18.04.5 server.

The installation of Nagios went well, but we are having problems with the installation of PNP4Nagios.

We have followed this installation guide:
https://support.nagios.com/kb/article/n ... tml#Ubuntu

All the steps have gone well until we have reached the moment of installing the npcd service.

The commands we have used are:

- sudo systemctl daemon-reload
- sudo systemctl enable npcd.service
- sudo systemctl start npcd.service
- sudo systemctl restart apache2.service

But I get the following error:

root @ NHDECURIONJC02: /tmp/pnp4nagios-0.6.26# sudo systemctl daemon-reload
root @ NHDECURIONJC02: /tmp/pnp4nagios-0.6.26# sudo systemctl enable npcd.service
Failed to enable unit: Unit file npcd.service does not exist.

Please can someone tell us how we can enable npcd.service?

I don't find much information about this error in other forums.

And right now when I click on a Nagios graph I get the following error:
captura 1.png
Thank you!

Re: Problems for enable npcd.service

Posted: Thu Sep 24, 2020 6:30 am
by gormank
My first thought is it isn't installed. Maybe try

locate npcd

That should show anything with npcd in the filename or path, assuming mlocate is installed.