I will try your suggestions. Thanks James.
Scott Bursik
Enterprise Systems Management
PepsiCo Business Solutions Group
(972) 963-1400
scott.bursik@pbsg.com
________________________________________
From: James Shanks [mailto:jshanks@us.ibm.com]
Sent: Wednesday, January 28, 2004 8:09 PM
To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] $NVA Populated with the NetView server Name
Based on what you say, it sounds more like the case that $NVT is null or
empty and so all the other variables move up one position.
I always log them this way:
echo NVT = $NVT >> mylogfile
echo NVA = $NVA >> mylogfile
etc
so that I can distinguish them.
But without an nvcorrd trace it would be hard to say for certain what is
happening.
If you are logging via actionsvr, then you should also be able to see what
he was passed in the nvcorrd logs, as well as his interpretation if you look
at his nvaction log.
Issue "nvcdebug -d all" to start the tracing, "nvcdebug -r" to turn it off
again.
James Shanks
Level 3 Support for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group
"Bursik, Scott {PBSG}" <Scott.Bursik@pbsg.com>
"Bursik, Scott {PBSG}" <Scott.Bursik@pbsg.com>
Sent by: owner-nv-l@lists.us.ibm.com
01/28/04 02:40 PM
Please respond to nv-l
To: "Nv-L (nv-l@lists.us.ibm.com)" <nv-l@lists.us.ibm.com>
cc:
Subject: [nv-l] $NVA Populated with the NetView server Name
NetView 7.1.3 FP1 AIX 4.3.3
I have created a Smartset based off of a specific value in the sysLocation
field. I then have a ruleset that runs that looks for Node Up and Node Down
traps, checks to see if the node is in the Smartset and if it is I pass the
variables $NVT $NVA $NVATTR_3 and pass them to a log file. I have something
weird happening from time to time though. Event though my NetView server is
NOT in the Smartset and does NOT have that sysLocation attribute, sometimes
the NetView servers name is passed in the $NVT variable slot. So what I end
up seeing in my log file is:
2003/12/12 09:47:11 netviewserver.mynetwork.com Node Down\.
Has anyone seen this?
Thanks,
Scott Bursik
PBSG
|