Nagios connection refused — Let us fix it by Ansu Anto Apr 24, Are you stuck with the Nagios error connection refused? The connection refused error occurs due to port block or improper configuration of NSClient. Why does Nagios show the connection refused? The connection problem usually occurs due to different reasons like, Windows not listening on the port or blocked by the firewall. Disabling NSClient server in the nsclient. Disabling essential NSClient modules.
For instance, the error appears as follows. How we fix the Nagios error? Open port Recently, one of the customers got the Nagios connection refused error.
So, on the Windows host, we run the command. We also ensured that the firewall is allowing inbound connections to port as well. Enable NSClient server The same error can also happen due to missed entries in the configuration file nsclient. Thus the error was resolved. Enable NSClient modules Similarly, the absence of essential modules can result in this error. So we checked configuration file nsc. We found that there were no modules loaded.
Hence, we enabled the basic modules, NSClientListener. We enabled those modules by uncommenting the corresponding entries in the configuration file. Finally, we restarted the service. Submit a Comment Cancel reply Your email address will not be published. Interesting items are items which will be included in the check. Reload counters on errors useful to check counters which are not added at boot.
Check average values ie. Extra flags to configure the counter nocap, , noscale. If all process metrics should be fetched otherwise only status is fetched.
This call will measure values and then sleep for 2 second and then measure again calculating deltas. If unreadable processes should be included will not have information. The types of services to enumerate available types are driver, file-system-driver, kernel-driver, service, service-own-process, service-share-process. The types of services to enumerate available states are active, inactive or all.
Counter The time to check ShowAll short Configures display format if set shows all items not only failures, if set to long shows all cores. MaxWarn Maximum value before a warning is returned. MaxCrit Maximum value before a critical is returned.
MinWarn Minimum value before a warning is returned. Proven A mature client with a 10 year track record and over Interoperable Supports most monitoring protocols and built on industry standard means easy to migrate to Powerful Innovative and advanced functionality for monitoring.
Extensible and customizable to fit any scenario and any paradigm. Tutorials Documentation. Download latest version Download nightly builds. Documentation forums. Getting involved Getting involved is easy!
0コメント