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:
Thank you!
Problems for enable npcd.service
-
- Posts: 1
- Joined: Wed Sep 23, 2020 11:54 am
Problems for enable npcd.service
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1114
- Joined: Tue Dec 02, 2014 12:00 pm
Re: Problems for enable npcd.service
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.
locate npcd
That should show anything with npcd in the filename or path, assuming mlocate is installed.