Seconds part is mandatory when -s time="DDMMYY:hh:mm:ss" is specified in nsconmsg in 12.0 and 12.1

Seconds part is mandatory when -s time="DDMMYY:hh:mm:ss" is specified in nsconmsg in 12.0 and 12.1

book

Article ID: CTX249867

calendar_today

Updated On:

Description

After upgrade OS to 12.0 or 12.1, 
when using -s time="DDMMYY:hh:mm" in nsconmsg command to filter time,
got the following errror.

root@test# nsconmsg -K newnslog.14 -s time=11Feb2019:05:50 -s ConLb=2 -d oldconmsg 
nsconmsg : string '\
' is not numeric in col device 

while in 11.1 and before OS version, can get the result properly.

Resolution

Specify this part as -s time="DDMMYY:hh:mm:ss" rather than  -s time="DDMMYY:hh:mm" in 12.0 and 12.1, this is a design change.

 

Problem Cause


--For 11.1 and previous version
seconds part is not mandatory
 
--For 12.0 , 12.1
Seconds part is mandatory
Problem Cause
Seconds part is mandatory when time is specified as part of nsconmsg in 12.0/12.1(test environment)
 
root@ns# nsconmsg -K newnslog -s time="11Feb2019:05:50" -s ConLb=2 -d setime
nsconmsg : string '(' is not numeric in col device
 
root@ns# nsconmsg -K newnslog -s time="11Feb2019:05:50:00" -s ConLb=2 -d setime
Display start time set to Mon Feb 11 05:50:00 2019
Displaying start and end time information
NetScaler V20 Performance Data
NetScaler NS12.1: Build 51.16.nc, Date: .......02:18:04   (64-bit)
 
......