This section includes the following topics:
The script file contains header and body. The header specifies the script name and provides a brief description about the script. The script body contains the commands. You can use any text editor to create the script file. The script file should reside in the global subdirectory under the NetVault scripts directory (<NetVault home>\scripts\global on Windows and <NetVault home>/scripts/global on Linux).
3 |
Create the script body and specify the syntax for the commands. You can open the NetVault scripts in the util directory using any text editor to view the proper structure and use them as a template for custom scripts. |
• |
Windows: %NVHOME%\scripts\<command> |
• |
Linux and UNIX: $NVHOME/scripts/<command> |
• |
On Windows, assign “.bat” extension to the file and save it in the <NetVault home>\scripts\global directory. |
• |
On Linux, assign “.sh” extension to the file and save it in the <NetVault home>/scripts/global directory. |
1 |
In the Navigation pane, click Configure Notifications. |
2 |
On the Editing Global Notification Profile page, open the event class, and then open the event type that you want to be notified about. |
4 |
In the Notification Method box, set the environment variables: |
• |
5 |
Click Save to save the global notification profile. |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center