nv-l

[nv-l] Object Info tip: fun with nvUtil in your scripts

2002-05-09 10:37:09
Subject: [nv-l] Object Info tip: fun with nvUtil in your scripts
From: "Leslie Clark" <lclark AT us.ibm DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Thu, 9 May 2002 10:37:09 -0400
I've been having lots of fun lately with the nvUtil function that returns
fields from the object info. Try this:

/usr/OV/bin/nvUtil n $NODENAME "%SNMP sysLocation%"

or
/usr/OV/bin/nvUtil n $NODENAME "%SNMP sysLocation%,%SNMP
sysContact%,%vendor%"

It's documented in a rather succint way in the nvUtil syntax help,
and I've only played with it recently. I've found it to be really handy
from scripts, especially in cases where I have loaded lots of
custom fields with nvdbimport.

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit


<Prev in Thread] Current Thread [Next in Thread>
  • [nv-l] Object Info tip: fun with nvUtil in your scripts, Leslie Clark <=