ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Passing Nimsoft variables to Nas auto-operator action type command

book

Article ID: 34708

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) NIMSOFT PROBES

Issue/Introduction

Introduction

?Options to pass Nimsoft variables to NAS auto-operator action type command




Procedure

Options to do this

1.Can? use Script mode to execute? command from lua script and pass argument to script e.g $hostname and capture in batch file using Windows batch scripting variable scheme i-e %1% to get the first variable.

2- Use "Command" mode and pass argument part of command e.g

Put the variables in quotes to get the full string

example
C:\testing\sendsms2.bat "$message" "$hostname" "$time" "$severity" "$level"

and capture in batch script per Windows batch scripting techniques


?

Environment

Release:
Component: UIMNAS