You can enable and configure a set of Alarms to monitor the health of your NetScalaer MAS server. You should configure system alarms to make sure you are aware of any critical or major system issues. For example, you might want to be notified if the CPU usage is high or if there are multiple login failures to the server. For some alarm categories, such as, cpuUsageHigh or memoryUsageHigh, you can set thresholds and define the severity (such as Critical or Major) for each. For some categories, such as, inventoryFailed or loginFailure, you can define only the severity. When the threshold is breached for an alarm category (for example, memoryUsageHigh) or when an event occurs corresponding to the alarm category (for example, loginFailure), a message is recorded in the system and you can view the message as syslog message. You can further set notifications to receive an email or SMS corresponding to your alarm settings.
You can assign or modify the severity of an alarm. The severity levels that you can assign are: Critical, Major, Minor, Warning, and Informational.
Consider a scenario where you want to monitor whenever there is a failed logon attempt. You can enable the loginFailure alarm and assign a severity, such as, Critical, to it. When a user attempts to log on to NetScaler MAS and the attempt fails, the alarm is triggered. You can view the message on the NetScaler MAS or get notifications through email or SMS.
To configure the alarm, you must select the loginFailure alarm and specify the severity level as Critical. The alarm is enabled by default.
To configure and view a system alarm by using NetScaler MAS
1. Navigate to System > Alarms.
2. Select the alarm you want to configure (for example, loginFailure) and click Edit to modify its settings.
3. The alarm is enabled by default. Assign a severity level (example: Critical), and then click OK. Note that for this alarm, you cannot set a threshold.
When the alarm is triggered, you can view the generated event as a syslog message.
To view the event generated by the loginFailure alarm by using NetScaler MAS
- Navigate to System > Auditing.
- In the Auditing page, under Audit Messages, select Syslog Messages.
In this example, you can see that an event was generated for a failed user login to the NetScaler MAS server from the CLI.
You can also set notifications to send you either an email or an SMS (Short Message Service) text when an alarm is triggered. For information about how to configure system notifications, see How to Configure System Notification Settings of NetScaler MAS.