Monitoring Logging Server:
Provided below are the sample outputs collected from one of the remote logging server.
root@localhost:~#cd /var/log/
Different folders l get created based on hostnames inthe defined location in rsyslog.conf
root@localhost:/var/log#ls -lt
drwx------ 2 root root 4096 Nov 18 03:02 Leaf1
drwx------ 2 root root 4096 Nov 15 07:24 10.12.56.112-leaf5
drwx------ 2 root root 4096 Nov 15 05:40 10.12.56.109-leaf2
drwx------ 2 root root 4096 Nov 15 01:26 Bingo1
drwx------ 2 root root 4096 Nov 14 06:07 Leaf2
drwx------ 2 root root 4096 Nov 11 04:57 R1-LEAF1
drwx------ 2 root root 4096 Nov 8 06:46 leaf2
drwx------ 2 root root 4096 Nov 8 03:38 R7-LEAF4
drwx------ 2 root root 4096 Nov 8 01:30 LEAF1
drwx------ 2 root root 4096 Nov 8 01:18 leaf3
drwx------ 2 root root 4096 Nov 7 07:56 OcNOS
drwx------ 2 root root 4096 Nov 6 23:58 mgmt-sw-3k
drwx------ 2 root root 4096 Nov 4 21:51 R5-LEAF3
Check under OcNOS folder
root@localhost:/var/log/OcNOS#ls –ltr
Different log files get created based on process name under folder based on hostname.
-rw-r--r-- 1 root root 444 Oct 25 02:20 PSERV.log
-rw-r--r-- 1 root root 328 Oct 30 05:05 ONMD.log
-rw-r--r-- 1 root root 174 Oct 30 05:37 usermod.log
-rw-r--r-- 1 root root 498 Oct 30 07:55 SFLOW.log
-rw-r--r-- 1 root root 486 Oct 30 07:55 RIP.log
-rw-r--r-- 1 root root 486 Oct 30 07:55 LAG.log
-rw-r--r-- 1 root root 492 Oct 30 07:55 VRRP.log
-rw-r--r-- 1 root root 486 Oct 30 07:55 PIM.log
-rw-r--r-- 1 root root 504 Oct 30 07:55 OSPFv3.log
-rw-r--r-- 1 root root 492 Oct 30 07:55 OSPF.log
-rw-r--r-- 1 root root 498 Oct 30 07:55 IS-IS.log
-rw-r--r-- 1 root root 504 Oct 30 07:55 802.1X.log
-rw-r--r-- 1 root root 492 Oct 30 07:56 MSTP.log
-rw-r--r-- 1 root root 483 Oct 30 07:56 HSL.log
-rw-r--r-- 1 root root 486 Oct 30 07:56 RIB.log
-rw-r--r-- 1 root root 492 Oct 30 07:56 MRIB.log
-rw-r--r-- 1 root root 8709 Nov 2 11:22 OAM.log
-rw-r--r-- 1 root root 17959 Nov 2 11:23 NSM.log
-rw-r--r-- 1 root root 12178 Nov 2 11:23 BGP.log
-rw-r--r-- 1 root root 74488 Nov 3 07:41 CMM.log
-rw-r--r-- 1 root root 4128 Nov 3 08:17 login.log
-rw-r--r-- 1 root root 5265 Nov 3 08:17 HOSTP.log
-rw-r--r-- 1 root root 21982 Nov 3 08:17 CML.log
-rw-r--r-- 1 root root 28094411 Nov 3 08:17 CMLSH.log
-rw-r--r-- 1 root root 278619 Nov 3 08:19 sshd.log
-rw-r--r-- 1 root root 695277 Nov 3 08:20 CRON.log
Last modified date: 08/28/2023