NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
177 stars 95 forks source link

NCPA v3-Beta | NCPA_Passive Logging #978

Closed SNapier closed 10 months ago

SNapier commented 11 months ago

Can you provide clarification as to what content will be provided with specific levels of logging in regards to "ncpa_passive.log"

ERROR = Working

INFO = No Log Output DEBUG = lots Handler Loop Run but, nothing else passive-log-examples

ne-bbahn commented 11 months ago

As I understand it:

SNapier commented 11 months ago

Example of previous NCPA_Passive log entries; 2023-09-20 18:04:28,675 632 INFO Running check: cpu/percent --critical 95 -aggregate avg 2023-09-20 18:04:29,191 632 INFO Running check: disk/logical/|/used_percent --critical 95 --units Gi 2023-09-20 18:04:29,206 632 INFO Running check: memory/swap --critical 90 --units Gi 2023-09-20 18:04:29,224 632 INFO Running check: memory/virtual --critical 90 --units Gi 2023-09-20 18:04:29,240 632 INFO Running check: processes --critical 25 2023-09-20 18:04:29,262 632 INFO Running check: services?service=sshd&status=running 2023-09-20 18:04:29,299 632 INFO Running check: /cpu/percent?delta=1 --aggregate avg --critical 10 2023-09-20 18:04:29,819 632 INFO Running check: memory/virtual?delta=1 --critical 30 -units Gi 2023-09-20 18:04:29,867 632 INFO Message from NRDP server (https://192.168.1.XXX/nrdp/): OK 2023-09-20 18:04:29,867 632 INFO Meta output from NRDP server (https://192.168.1.XXX/nrdp/): 9 checks processed Not seeing this information coming through to the logs for v3-Beta.

ne-bbahn commented 11 months ago

It would seem that these checks are being logged into the listener instead of the passive log.