
What account do I need to run these commands under? I am not able to perform this using the li-admin login.
Occasionally, we encounter issues where one of the mount point in LogPoint is full. The disk full conditions can be because of various reasons and it is of utmost importance to immediately free some disk so that LogPoint can function normally.
Under disk full situations for /opt and primary repo path /opt/immune/storage locations, the log collection of LogPoint will be affected.
To detect the disk full situations, we can use the df command.
df -h
In the output of this command, we can either look for the percent usage of each mount point or the available storage space. These indicators will help us detect disk full scenarios.
Now, once we find out the problem in LogPoint is because of lack of storage space, we can dive deeper.
The /opt mount point generally stores the necessary config files, service log files, mongoDB data and executables of LogPoint. For normal functioning of LogPoint it is critical to have some storage space available.
Since in normal scenario, this mount point does not actively store much data, it is unlikely to have storage space 100% used. But when it encounters such cases, we have to investigate using
du
command and find out which directory or file is the cause of disk getting full. The command that helps out is as follows:
du -sch <file_1> <file_2> <directory_1> <directory_2>#To check all files and folder in current working directorydu -sch *
It is important to try this command manually across the directories inside /opt to detect the culprit. Note: /opt/immune/storage is usually mounted to a different pool or lvm.
Usually /opt/immune/storage mount point has larger storage space compared to /opt because it has to store the logs and indices files as primary retention path.
If this mount point gets 100% used, then log collection gets halted and related services will stop to function. It is important to fix such issues. To drill down which directory might be using a lot of space, same old du command does the trick.
The probable cases when /opt/immune/storage is full can be as follows:
In any of the above situations if you are not sure, it is important to call support for help. The paths mentioned here are for default installations. For some custom changes in the data mount point and so on, the paths might differ.
Note : The paths /opt/makalu and /opt/immune paths are actually same because in Logpoint /opt/immune is a soft symlink to /opt/makalu .
Share This Post:
What account do I need to run these commands under? I am not able to perform this using the li-admin login.
Hi Stephen,
Let me get you help on this :)
@Nils Krumey
Hi @Stephen Barton ,
What commands are you referring to specifically? I just checked, and du -sch * should work in pretty much all of the mentioned directories, even as li-admin - the only one that li-admin doesn’t have access to is the nxlog spool directory, but any release higher than 7.0 should have cleaned that up anyway.
The most important one out of all these is obviously /opt/immune/storage, as that is by default where the logs and indexes end up, and most of the time systems simply run out of disk space because there are too many logs. The du command should help to determine whether it is indeed logs or one of the system directories above that have filled up the disk space.
The du command might throw a few errors on some subfolders that li-admin does not have access to (for example, the new SOAR container location in /opt/immune/storage cannot be accessed, but in most cases the overall total should still be reasonably close.
Hi @Nils Krumey ,
I try: rm -rf /opt/immune/var/patches/installed/patch-logpoint-6.9.0 and get
rm: cannot remove [...]: permission denied.
User and Group for the upgrade files are “loginspect”.
Hi, yes you would need root access (or a partner account) for that - Support should be able to do that for you.
Please sign in to leave a comment.
5 comments