Re: NCPA Listener - Windows Service Failure
Posted: Wed Nov 19, 2014 10:18 am
Interesting, thank you for letting us know. We'll keep this thread open in case you run into anything.
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
[12964] 2015/01/12 14:07:33.703 starting logging at level ERROR
[12964] 2015/01/12 14:07:34.046 Python exception encountered:
[12964] 2015/01/12 14:07:34.046 Internal Message: cannot import service module
[12964] 2015/01/12 14:07:34.046 Type => <type 'exceptions.RuntimeError'>
[12964] 2015/01/12 14:07:34.046 Value => couldn't find any physical disk
[12964] 2015/01/12 14:07:34.046 Traceback (most recent call last):Code: Select all
[03344] 2015/01/12 14:27:35.805 starting logging at level ERROR
[03344] 2015/01/12 14:27:36.148 Python exception encountered:
[03344] 2015/01/12 14:27:36.148 Internal Message: cannot import service module
[03344] 2015/01/12 14:27:36.148 Type => <type 'exceptions.RuntimeError'>
[03344] 2015/01/12 14:27:36.148 Value => couldn't find any physical disk
[03344] 2015/01/12 14:27:36.148 Traceback (most recent call last):
[03344] 2015/01/12 14:27:36.148 File "C:\ncpa\agent\ncpa_windows.py", line 20, in <module>
[03344] 2015/01/12 14:27:36.148 File "C:\Program Files (x86)\Nagios\NCPA\passive\nrds.py", line 4, in <module>
from passive.nagioshandler import NagiosHandler
[03344] 2015/01/12 14:27:36.148 File "C:\Program Files (x86)\Nagios\NCPA\passive\nagioshandler.py", line 3, in <module>
import ncpacheck
[03344] 2015/01/12 14:27:36.148 File "C:\Program Files (x86)\Nagios\NCPA\passive\ncpacheck.py", line 5, in <module>
import listener.server
[03344] 2015/01/12 14:27:36.148 File "C:\ncpa\agent\listener\server.py", line 8, in <module>
[03344] 2015/01/12 14:27:36.148 File "C:\ncpa\agent\listener\psapi.py", line 156, in <module>
[03344] 2015/01/12 14:27:36.148 File "C:\ncpa\agent\listener\psapi.py", line 129, in get_root_node
[03344] 2015/01/12 14:27:36.148 File "C:\ncpa\agent\listener\psapi.py", line 96, in get_disk_node
[03344] 2015/01/12 14:27:36.148 File "C:\Python27\lib\site-packages\psutil\__init__.py", line 1726, in disk_io_counters
[03344] 2015/01/12 14:27:36.148 RuntimeError: couldn't find any physical disk
[03344] 2015/01/12 14:27:36.148 ending loggingAny updates? Is your issue resolved now?Forgot that you need to run diskperf from a CLI launched as admin...