Hello
@hbouma
I am following up on the behalf of
@ssax as he is out of the office this week. Doing some catching up on this forum post issue and see that
@ssax requested the following info. We do not have access to
@ssax private message inbox and will not be able to review.
ssax wrote:Please PM any of these files you have:
Code: Select all
/etc/sysconfig/ramdisk
/etc/sysconfig/nagios
/usr/lib/systemd/system/ramdisk.service
/usr/lib/systemd/system/nagios.service
/etc/init.d/nagios
/var/nagiosramdisk/objects.cache
/var/nagiosramdisk/status.dat
Looking back through we see that you stated that the following directory is not created when the 'ramdisk.service' is started and wanted to touch on this further, by taking a look at the journal output on restarted service.
First restart the 'ramdisk.service' by:
Then take a look at the 'systemctl' status to see if the '/var/nagiosramdisk/spool/xidpe' folder is create or missed?
Code: Select all
systemctl -l status ramdisk --no-pager
Results should look similar to this example:
systemctl -l status ramdisk --no-pager
● ramdisk.service - Ramdisk
Loaded: loaded (/usr/lib/systemd/system/ramdisk.service; enabled; vendor preset: disabled)
Active: active (exited) since Mon 2021-11-22 10:15:05 CST; 17min ago
Process: 2049696 ExecStart=/usr/bin/chown -R nagios:nagios /var/nagiosramdisk (code=exited, status=0/SUCCESS)
Process: 2049694 ExecStartPre=/usr/bin/mkdir -p -m 775 /var/nagiosramdisk /var/nagiosramdisk/tmp /var/nagiosramdisk/spool /var/nagiosramdisk/spool/checkresults /var/nagiosramdisk/spool/xidpe /var/nagiosramdisk/spool/perfdata (code=exited, status=0/SUCCESS)
Process: 2049692 ExecStartPre=/usr/bin/mount -t tmpfs -o size=100m tmpfs /var/nagiosramdisk (code=exited, status=0/SUCCESS)
Process: 2049690 ExecStartPre=/usr/bin/mkdir -p -m 775 /var/nagiosramdisk /var/nagiosramdisk/tmp /var/nagiosramdisk/spool /var/nagiosramdisk/spool/checkresults /var/nagiosramdisk/spool/xidpe /var/nagiosramdisk/spool/perfdata (code=exited, status=0/SUCCESS)
Main PID: 2049696 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 101104)
Memory: 0B
CGroup: /system.slice/ramdisk.service
Also, let us know how 'rrdcached.service' looks as well.
Code: Select all
systemctl -l status rrdcached --no-pager
Thanks,
Perry