Jump to content
Welcome to our new Citrix community!

how to check my netsclaer reboot history?


Bo Yan1709162393

Recommended Posts

All commands will be logged. so if you fire a reboot, this will get logged as well.

 

This is a reboot:

Dec  7 17:50:42 <local0.info> ctxns-w10-distria nslped: shutdown_policyeng(): shutdown_policyeng: License engine not running
Dec  7 17:50:42 <local0.info> 192.168.229.123 12/07/2020:16:50:42 GMT ctxns-w10-distria 0-PPE-0 : default CLI CMD_EXECUTED 1675 0 :  User nsroot - Remote_ip 192.168.229.1 - Command "reboot" - Status "Success"

 

After reboot, you'll see a first message like this one (this one wioll also be logged after a crash):
Dec  7 17:51:34 <local0.info> ctxns-w10-distria nssetup: _checkconfigsrc(): Necaler will be started from the last saved config

 

Greetings from Austria

 

Johannes Norz

CTA, CCI, CCE-N

https://blog.norz.at

https://wonderkitchen.network
 

Link to comment
Share on other sites

9 minutes ago, Bo Yan1709162393 said:

Where can I trace the event from log?

 

 

Oh. Sorry, I thought you'll know.

All events are stored in /var/log/ns.log, or, old logs in /var/log/ns.log.\d{1,2}.gz (i.e.: ns.log.0.gz - ns.log.25.gz). These old logfiles can get viewed using zcat.

 

so the command would be zcat ns.log.*.gz | grep reboot

 

Greetings from Austria

 

Johannes Norz

CTA, CCI, CCE-N

https://blog.norz.at

https://wonderkitchen.network

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...