I'm running 2024R1.1.4 on Ubuntu 22.04.4 LTS (x86_64). I logged into my XI server today and noticed the root partition was at 100% disk usage...Perhaps I forgot to monitor the monitor
Anyway, I'm seeing the syslog fill very rapidly with these messages:
is rather vague so I'm not sure what the actual issue is here. I was doing some work with the firewall (UFW) recently so that was my first suspect but I have it set to 'inactive' currently and have rebooted the server and the logs keep rolling in. Does anyone have any tips on how I can troubleshoot this or get more relevant info? At this rate I've set up a cron job to periodically truncate the syslog but obviously that's not ideal
I haven't noticed any issues yet, hosts and services are still being monitored.
Last edited by naggyohs on Wed Jul 17, 2024 2:08 pm, edited 2 times in total.
Seeing a lot of this in the syslog too but I'm not sure if it is related:
Jul 17 14:05:03 nagios npcd[122711]: Use of uninitialized value $string in substitution (s///) at /usr/local/nagios/libexec/process_perfdata.pl line 699, <PDFILE> line 1.
Jul 17 14:05:03 nagios npcd[122711]: Use of uninitialized value $NAGIOS{"MULTI_PARENT"} in substitution (s///) at /usr/local/nagios/libexec/process_perfdata.pl line 465, <PDFILE> line 1.
Jul 17 14:05:03 nagios npcd[122711]: Use of uninitialized value $NAGIOS{"MULTI_PARENT"} in printf at /usr/local/nagios/libexec/process_perfdata.pl line 466, <PDFILE> line 1.
Jul 17 14:05:03 nagios npcd[122711]: Use of uninitialized value $string in substitution (s///) at /usr/local/nagios/libexec/process_perfdata.pl line 699, <PDFILE> line 2.
Jul 17 14:05:03 nagios npcd[122716]: Use of uninitialized value $string in substitution (s///) at /usr/local/nagios/libexec/process_perfdata.pl line 699, <PDFILE> line 1.
Jul 17 14:05:03 nagios npcd[122711]: Use of uninitialized value $NAGIOS{"MULTI_PARENT"} in substitution (s///) at /usr/local/nagios/libexec/process_perfdata.pl line 465, <PDFILE> line 2.
Jul 17 14:05:03 nagios npcd[122716]: Use of uninitialized value $NAGIOS{"MULTI_PARENT"} in substitution (s///) at /usr/local/nagios/libexec/process_perfdata.pl line 465, <PDFILE> line 1.
Jul 17 14:05:03 nagios npcd[122716]: Use of uninitialized value $NAGIOS{"MULTI_PARENT"} in printf at /usr/local/nagios/libexec/process_perfdata.pl line 466, <PDFILE> line 1.
Jul 17 14:05:03 nagios npcd[122711]: Use of uninitialized value $NAGIOS{"MULTI_PARENT"} in printf at /usr/local/nagios/libexec/process_perfdata.pl line 466, <PDFILE> line 2.
Jul 17 14:05:03 nagios npcd[122716]: Use of uninitialized value $string in substitution (s///) at /usr/local/nagios/libexec/process_perfdata.pl line 699, <PDFILE> line 2.
Jul 17 14:05:03 nagios npcd[122711]: Use of uninitialized value $string in substitution (s///) at /usr/local/nagios/libexec/process_perfdata.pl line 699, <PDFILE> line 3.
Jul 17 14:05:03 nagios npcd[122716]: Use of uninitialized value $NAGIOS{"MULTI_PARENT"} in substitution (s///) at /usr/local/nagios/libexec/process_perfdata.pl line 465, <PDFILE> line 2.
Jul 17 14:05:03 nagios npcd[122716]: Use of uninitialized value $NAGIOS{"MULTI_PARENT"} in printf at /usr/local/nagios/libexec/process_perfdata.pl line 466, <PDFILE> line 2.
Jul 17 14:05:03 nagios npcd[122711]: Use of uninitialized value $NAGIOS{"MULTI_PARENT"} in substitution (s///) at /usr/local/nagios/libexec/process_perfdata.pl line 465, <PDFILE> line 3.
In the case of the first set of logs, those are presumably coming from snmpd/snmptrapd whenever an SNMP trap hits the system. We are supposed to set the config so as not to dump the trap intake to the syslog. You didn't happen to touch the config file did you? I don't know exactly which file is relevant on Ubuntu 22.04.4 LTS, but here are some candidates until I can spin up a server and check:
Sorry if ubuntu is different. On Redhat snmptrapd processes traps and snmpd isn't used. If snmptrapd is running maybe snmpd isn't needed and can be disabled.