I am triying to get NCPA listener running in a Centos 7 LXC (container running in Proxmox VE), I installed NCPA via repo. but after installing and configuring, NCPA is failing to start:
ncpa_listener.service - LSB: This manages the NCPA Listener service
Loaded: loaded (/etc/rc.d/init.d/ncpa_listener; bad; vendor preset: disabled)
Active: active (exited) since Wed 2017-05-10 00:05:33 UTC; 1min 48s ago
Docs: man:systemd-sysv-generator(8)
Process: 8472 ExecStop=/etc/rc.d/init.d/ncpa_listener stop (code=exited, status=0/SUCCESS)
Process: 8481 ExecStart=/etc/rc.d/init.d/ncpa_listener start (code=exited, status=0/SUCCESS)
ncpa_listener[8481]: File "/root/ncpa/agent/ncpadaemon.py", line 14, in <module>
ncpa_listener[8481]: File "/root/ncpa/agent/listener/database.py", line 5, in <module>
ncpa_listener[8481]: File "/root/ncpa/agent/listener/server.py", line 11, in <module>
ncpa_listener[8481]: File "/root/ncpa/agent/listener/psapi.py", line 213, in <module>
ncpa_listener[8481]: File "/root/ncpa/agent/listener/psapi.py", line 184, in get_root_node
ncpa_listener[8481]: File "/root/ncpa/agent/listener/psapi.py", line 147, in get_disk_node
ncpa_listener[8481]: File "/usr/local/lib/python2.7/site-packages/psutil/__init__.py", line 2053, in disk_io_counters
ncpa_listener[8481]: RuntimeError: couldn't find any physical disk
ncpa_listener[8481]: [FAILED]
systemd[1]: Started LSB: This manages the NCPA Listener service.
I have successfully installed this latest NCPA version on another Centos 7 physical machine and VM without issue. Any help would be greatly appreciated.
NCPA - LXC Container - Fails to start
NCPA - LXC Container - Fails to start
Last edited by dwhitfield on Tue May 16, 2017 2:02 pm, edited 1 time in total.
Reason: marking with green check mark
Reason: marking with green check mark
Re: NCPA - LXC Container - Fails to start
Can you describe in details how you installed "Centos 7 LXC" in "Proxmox VE"? We will try to recreate the issue in-house.
Meanwhile, I would recommend that you report the issue you are having with NCPA here: https://github.com/NagiosEnterprises/ncpa/issues
Our developers will be looking into it as soon as they can.
Thanks!
Meanwhile, I would recommend that you report the issue you are having with NCPA here: https://github.com/NagiosEnterprises/ncpa/issues
Our developers will be looking into it as soon as they can.
Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NCPA - LXC Container - Fails to start
Thanks for the response!
For Centos 7 LXC, I ssh'd into a proxmox node and downloaded the Centos 7 image:
#pveam download local centos-7-default_20161207_amd64.tar.xz
After that, Using the GUI I created a new container using that image. After the container was brought up, I installed openssh-server and ran yum update.
I will also post this to the Github page.
For Centos 7 LXC, I ssh'd into a proxmox node and downloaded the Centos 7 image:
#pveam download local centos-7-default_20161207_amd64.tar.xz
After that, Using the GUI I created a new container using that image. After the container was brought up, I installed openssh-server and ran yum update.
I will also post this to the Github page.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: NCPA - LXC Container - Fails to start
Did you have anything else to add or did you want to lock this up and follow the github issue?
Re: NCPA - LXC Container - Fails to start
Sorry I didn't see your response... Yes you can lock this thread, the issue will be fixed in ncpa 2.0.4
https://github.com/NagiosEnterprises/ncpa/issues/340
https://github.com/NagiosEnterprises/ncpa/issues/340