Create Default Traffic AgentsThe Default Traffic agent alerts you when the traffic in a default traffic class (such as Inbound/Default) exceeds a certain percentage of all traffic in a specific time interval. For example, if more than 15 percent of all traffic is not getting classified and therefore being placed into the /default class, you would want to know about this situation and perhaps take action on it. What could be causing a Default class to have so much traffic? You may have turned off traffic discovery, perhaps because you have fine tuned your traffic tree with just the classes you care about monitoring and controlling; if new applications are being run on your network, they will get classified into Default. Another possible reason for a large amount of traffic in a Default class is that you have auto-discovery on, but the PacketShaper has created the maximum number of classes no more classes can be discovered so the traffic gets classified into Inbound/Default or Outbound/Default. The standard alert is a red indicator on the info tab (PacketWise) or configuration tab (PolicyCenter). In addition, you can have an email, SNMP trap, or syslog message sent when the Default class' utilization crosses a predefined threshold; this method requires that you create an action file a text file of PacketWise commands. The action file can take other actions, as well, such as enabling traffic discovery or turning on top talkers/listeners, and can include any CLI command that can run without additional user input. See Action File Overviews for more information. In order to create agents, the adaptive response feature must be enabled. Create a New AgentTo create a Default Traffic agent: Note: If you want to monitor Inbound/Default or Outbound/Default, you don't need to create a new agent. You can simply check the status of the predefined Inbound Default Traffic and Outbound Default Traffic agents.
After creating the agent, you will want to monitor it to see whether usage in the class has come close to or exceeded the threshold. Check the Agent StatusTo check the status of the Default Traffic agent:
Create an Action File that Sends an Email NotificationIf you would like to be notified by email when the Default class' usage has exceeded the red threshold, you can create a command file that contains a single line: the send email command. By designating this command file as the red action file, an email will be sent when the red threshold is crossed. In addition, the action file can contain CLI commands for taking corrective action (enabling traffic discovery) or diagnostic action (turning on top talkers/listeners). Note: In order to send email notification, you must configure an SMTP server in PacketWise. To create an action file that sends an email notification: 1. If the info tab is currently displayed, click the Settings link; otherwise, go to the setup tab and click the Adaptive Response Settings link. 2. Click the edit button next to the partition agent. 3. Click the browse files button. The File Browser window opens and shows the contents of the 9.258/agent/cmd directory (where action files need to be stored). 4. Click the new cmd file button. A command file window opens. 5. In the File Name field, enter a unique name for your action file up to eight characters long, including 0-9, a-z, AZ, -,_, and . (period). Spaces are not allowed. Example: red-def 6. In the Contents area, enter the following commands: 7. Click save. 8. Enter the name of your action file in the Red Action File field (for example, red-def.cmd). 9. Click OK. After the next evaluation interval, an email will be sent if and when the agent's red threshold is crossed. If the action file turned on top talkers/listeners for the class, you will want to wait a period of time for PacketWise to gather host information. Then you can view the Top Talkers and Top Listeners reports for the class to discover the hosts that are the top bandwidth consumers; from this information you might decide to manually create classes for some of these hosts, in order to reduce the amount of unclassified traffic. You may also want to create a green action file to notify you when the Default Traffic agent returns to a green status. This action file could turn off traffic discovery (setup discover off) or turn off top talkers/listeners (hostdb topusers stop $class-id talk).
|
PacketGuide™ for PacketWise® 8.1