[INUG-Users] Getting IP of device in question in field Node eachtime from nco_p_ncpmonitor.
Christian Hirth
pipe2null at gmail.com
Wed Jul 4 04:35:28 EDT 2007
Mmm, in the rest of the Netcool suite, the rules files defaults to let the
@Node field contain the IP of the device in question, if it could not or was
not requested to resolve it from the host file.
Why is this not possible for Precision??
The reason we need to have IP in @Node and if found, hostname in @NodeAlias,
is that we have external applications looking into these data and our users
are doing filters preferred on IPs.
So I want it and I need it ;-)
-Christian Hirth
_____
From: users-bounces at netcoolusers.org [mailto:users-bounces at netcoolusers.org]
On Behalf Of Nicholas Ho
Sent: 3. juli 2007 20:26
To: users at netcoolusers.org
Subject: Re: [INUG-Users] Getting IP of device in question in field Node
eachtime from nco_p_ncpmonitor.
If the ExtraInfo_m_IpAddr token is not created then your best bet is to
enrich an objectserver event field via ncp_ncogate. I would create a new
objectserver field e.g. DeviceIPAddr and then your NcoGateSchema.cfg would
become:
insert into config.ncp2nco
(
EventFilter,
EventFieldMap
)
values
(
"ActionType <> 2",
{
//
// These fields in the Omnibus event will be updated
// The update filter is fixed by the Gateway as:
// "Serial = eval(int, '&NcoSerial')"
// A single & accesses the Omnibus event record
// A double && accesses the Topology record
//
Severity = "eval(int, '&Severity')",
NmosObjInst = "eval(int, '&ExtraInfo->NmosObjInst')",
NmosSerial = "eval(text, '&ExtraInfo->NmosSerial')",
NmosCauseType = "eval(int, '&CauseType')",
DeviceIPAddr = "eval(text, '&&Address(2)')"
}
);
=================
Nick Ho
Inactive hide details for "Hubbard, Greg L" <greg.hubbard at eds.com>"Hubbard,
Greg L" <greg.hubbard at eds.com>
"Hubbard, Greg L" <greg.hubbard at eds.com>
Sent by: users-bounces at netcoolusers.org
07/03/2007 08:37 AM
Please respond to
users at netcoolusers.org
To
<users at netcoolusers.org>
cc
Subject
Re: [INUG-Users] Getting IP of device in question in field Node eachtime
from nco_p_ncpmonitor.
I think the default behavior is to put an IP address in the Node name. One
of the first things I fixed. In my environment, I want a DNS name in the
Node and the
IP address in NodeAlias.
nco_p_ncpmonitor is just a probe, so you can update fields with anything
that you want, using the standard probe rules language. You might want to
turn on details for this alarm type to ensure that the fields you need are
being sent -- each Precision alarm seems to include different information in
it.
GLH
_____
From: users-bounces at netcoolusers.org [mailto:users-bounces at netcoolusers.org]
On Behalf Of Christian Hirth
Sent: Tuesday, July 03, 2007 8:46 AM
To: users at netcoolusers.org
Subject: [INUG-Users] Getting IP of device in question in field Node
eachtime from nco_p_ncpmonitor.
Hi,
Anyone knows how to change the behavior of the nco_p_ncpmonitor, so you get
the IP address of the device in question every time and not sometime the
hostname.
Main problem is when doing the SNMP poll link up/down, here the EntityName
is return in the @Node field.
We like to have IP in the Node field of the object server and the possible
hostnames in the NodeAlias field.
So how to make Precision, always send events where Node is an IP???
Where to change, what ?
-Christian
_______________________________________________
Sent by the netcoolusers.org "users" mailing list
Post: users at netcoolusers.org
Unsubscribe: users-unsubscribe at netcoolusers.org
Search: http://lists.netcoolusers.org/archives/users/
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the Users
mailing list