NetScaler: Difference between revisions
Content added Content deleted
(→Basics) |
|||
Line 115:
*For Netscaler:
> set syslogParams -logLevel ALL
= API Calls =
;Reboot Netscaler
curl -s -k -X POST -H 'Content-Type:application/vnd.com.citrix.netscaler.reboot+json' --basic --user nsroot:pwd@123 -d '{"reboot":{"warm":true}}' http://10.107.88.78/nitro/v1/config/reboot/
;Last Boot time
curl -s -k -X GET -H 'Content-Type:application/json' --basic --user nsroot:pwd@123 http://10.107.88.78/nitro/v1/stat/system?attrs=starttime
|