NCPA throwing error when checking for Status
Posted: Wed Apr 05, 2017 11:38 am
Hello There,
We have recently upgraded NCPA on our Linux Servers. We are facing some issue on few of the servers.
Service checks are failing with error "UNKNOWN: Error occurred while running the plugin. Use the verbose flag for more details."
NCPA status on server throws below error:
The file or directory '/apps/static/webdata' which is being referred in the error is not present on the server.
Server OS Version: Red Hat Enterprise Linux Server release 7.3 (Maipo)
NCPA Installed Packages: ncpa.x86_64 2.0.2-1.el7.centos @test-trinet-rhel-x86_64-custom-7
Nagios Version: Nagios XI 5.4.3
Please help with the issue.
Thank You,
Sampath.
We have recently upgraded NCPA on our Linux Servers. We are facing some issue on few of the servers.
Service checks are failing with error "UNKNOWN: Error occurred while running the plugin. Use the verbose flag for more details."
NCPA status on server throws below error:
Code: Select all
[root@<Server> ~]# /etc/init.d/ncpa_listener status
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/cx_Freeze/initscripts/Console.py", line 27, in <module>
File "ncpa_listener.py", line 5, in <module>
File "/root/ncpa/agent/ncpadaemon.py", line 14, in <module>
File "/root/ncpa/agent/listener/database.py", line 5, in <module>
File "/root/ncpa/agent/listener/server.py", line 11, in <module>
File "/root/ncpa/agent/listener/psapi.py", line 213, in <module>
File "/root/ncpa/agent/listener/psapi.py", line 184, in get_root_node
File "/root/ncpa/agent/listener/psapi.py", line 153, in get_disk_node
File "/root/ncpa/agent/listener/psapi.py", line 59, in make_mountpoint_nodes
OSError: [Errno 2] No such file or directory: '/apps/static/webdata'
Server OS Version: Red Hat Enterprise Linux Server release 7.3 (Maipo)
NCPA Installed Packages: ncpa.x86_64 2.0.2-1.el7.centos @test-trinet-rhel-x86_64-custom-7
Nagios Version: Nagios XI 5.4.3
Please help with the issue.
Thank You,
Sampath.