I do not see it making a /var/nagiosramdisk/spool/xidpe folder.pbroste wrote: 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 restart ramdisk.service
Code: Select all
systemctl -l status ramdisk --no-pager
Code: Select all
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 11:44:45 EST; 18s ago
Process: 14008 ExecStart=/usr/bin/chown -R nagios:nagios /var/nagiosramdisk (code=exited, status=0/SUCCESS)
Process: 14004 ExecStartPre=/usr/bin/mkdir -p -m 775 /var/nagiosramdisk/tmp/var/nagiosramdisk/spool /var/nagiosramdisk/spool/checkresults/var/nagiosramdisk/spool/xidpe /var/nagiosramdisk/spool/perfdata (code=exited, status=0/SUCCESS)
Process: 14001 ExecStartPre=/usr/bin/mount -t tmpfs -o size=500m tmpfs /var/nagiosramdisk (code=exited, status=0/SUCCESS)
Process: 13998 ExecStartPre=/usr/bin/mkdir -p -m 775 /var/nagiosramdisk (code=exited, status=0/SUCCESS)
Main PID: 14008 (code=exited, status=0/SUCCESS)
Nov 22 11:44:45 SERVER systemd[1]: Starting Ramdisk...
Nov 22 11:44:45 SERVER systemd[1]: Started Ramdisk.
Here is the output:pbroste wrote: Also, let us know how 'rrdcached.service' looks as well.
Thanks,Code: Select all
systemctl -l status rrdcached --no-pager
Perry
Code: Select all
systemctl -l status rrdcached --no-pager
● rrdcached.service - LSB: start and stop rrdtool caching daemon
Loaded: loaded (/etc/rc.d/init.d/rrdcached; bad; vendor preset: disabled)
Active: active (running) since Tue 2021-11-16 07:56:23 EST; 6 days ago
Docs: man:systemd-sysv-generator(8)
CGroup: /system.slice/rrdcached.service
└─21288 /usr/bin/rrdcached -p /var/rrdtool/rrdcached/rrdcached.pid -s nagios -m 0660 -l unix:/var/rrdtool/rrdcached/rrdcached.sock -F -w 900 -z 90 -j /var/rrdtool/rrdcached -b /var/rrdtool/rrdcached
Nov 22 08:56:23 SERVER rrdcached[21288]: started new journal /var/rrdtool/rrdcached/rrd.journal.1637589383.218497
Nov 22 08:56:23 SERVER rrdcached[21288]: removing old journal /var/rrdtool/rrdcached/rrd.journal.1637582183.218593
Nov 22 09:56:23 SERVER rrdcached[21288]: flushing old values
Nov 22 09:56:23 SERVER rrdcached[21288]: rotating journals
Nov 22 09:56:23 SERVER rrdcached[21288]: started new journal /var/rrdtool/rrdcached/rrd.journal.1637592983.218610
Nov 22 09:56:23 SERVER rrdcached[21288]: removing old journal /var/rrdtool/rrdcached/rrd.journal.1637585783.218568
Nov 22 10:56:23 SERVER rrdcached[21288]: flushing old values
Nov 22 10:56:23 SERVER rrdcached[21288]: rotating journals
Nov 22 10:56:23 SERVER rrdcached[21288]: started new journal /var/rrdtool/rrdcached/rrd.journal.1637596583.218546
Nov 22 10:56:23 SERVER rrdcached[21288]: removing old journal /var/rrdtool/rrdcached/rrd.journal.1637589383.218497