09-21-2016 06:16 AM
Hello All,
I have faced some problems recently, and today I discovered that there is no free disk space on my collector.
I'm not an expert on Linux, and would like your help.
Follows the print:
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root 230G 229G 0 100% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/sda1 477M 41M 411M 10% /boot
[root@localhost ~]#
Solved! Go to Solution.
09-21-2016 10:30 AM
Hi, gustavoemerim.
First of all, you need to locate the directory which have the greater usage with "du -ch".
Usually, the directory used to store snmptraps is the most full if you install using standard configurations (/opt/cisco/ss/adminshell/applications/CSPC/data/snmptrap/rawdata in my case).
You can compact the files with a tar script or remove the snmptrap files and deactivate the traps with the following command:
touch $CSPCHOME/donotStartSyslog $CSPCHOME/donotStartSnmpTrap $CSPCHOME/donotStartFtp $CSPCHOME/donotStartTftp; chown casuser:casusers $CSPCHOME/donot*; chmod 710 $CSPCHOME/donot*; service cspc restart
Regards,
Luis Lhullier
NAPIT Network Solutions
09-21-2016 10:30 AM
Hi, gustavoemerim.
First of all, you need to locate the directory which have the greater usage with "du -ch".
Usually, the directory used to store snmptraps is the most full if you install using standard configurations (/opt/cisco/ss/adminshell/applications/CSPC/data/snmptrap/rawdata in my case).
You can compact the files with a tar script or remove the snmptrap files and deactivate the traps with the following command:
touch $CSPCHOME/donotStartSyslog $CSPCHOME/donotStartSnmpTrap $CSPCHOME/donotStartFtp $CSPCHOME/donotStartTftp; chown casuser:casusers $CSPCHOME/donot*; chmod 710 $CSPCHOME/donot*; service cspc restart
Regards,
Luis Lhullier
NAPIT Network Solutions
09-21-2016 10:35 AM
Thanks a lot Luis!!!!!!!
03-04-2020 08:08 AM
Hi,
with the Collector, did you mean a Smartcare appliance? if Yes, which commands did you use to get to the root of the problem or the folder which was causing the space issue,or did you just used the command given by Luis and everything was solved?
I have a Smartcare appliance with the same issue of No Space Left On Device error.
Thanks.
03-04-2020 08:52 AM
Please open a different post :
You likely have the wrong specs for SNTC collector and are using the 2G mem and 40 GIg harddrive
what will generally happen is that 2G mem is insufficient for the processing needs of SNTC collector and it will throw kernel errors. These errors are on /var/log particularly on these 2 files
-rw-r-----+ 1 root root 1286671 Mar 4 11:37 kern.log
-rw-r-x---+ 1 root root 14654853 Mar 4 11:37 messages
If you are using the tiny specs as mentioned above you should redeploy with at least the minimum requirement for SNTC service which is the smal specs
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide