James,
Thanks,
After setting my tiv environment it resolved the libtmf.a but I received the
following:
*
*
*
Restarting netmon...
Restarting snmpCollect...
cat: 0652-050 Cannot open /usr/OV/conf/NetViewServerOID.
{ SYSTEM_EXCEPTION StExcep::BAD_OPERATION { 0 NO }}
reset_ci finished
And it cannot open it because it is not there. Is this a Tivoli OID and is it
necessary to have this file?
The reset_ci worked and I was able to poll agents that use alternate community
names. I added the alternate community names communityNames.conf directly and
executed netmon -y which is a running daemon.
Well all this was on the test side and it is looking healthier but we have
problems on our production side. Actually I'm working on adding alternate
community names (go figure).
Our NetView environment was not being maintained. As you might have already
guessed NetView was dropped in my lap amongst other things so thanks for your
help and patience as I get up to speed. I am trying to set up an alternate name
but I'm running into problems. NetView is not polling the system with the new
string. Hopefully you can help if not I'm waiting on support.
1. added the new community string to /usr/OV/conf/communityNames
2. Verified name on the agent side (syntax)
3. added system to seed file
:
4. ps -ef | grep netmon :
root 27478 62350 0 Mar 14 - 39:09 /usr/OV/bin/netmon -P -m-1
-s/usr/local/NetView/conf/netmon.seed -J
-u -g -q 32
5. netmon -y
6. Demand poll fails: timstamp ****Nod 'systemname' not found, demand poll
skipped ****
7. snmpwalk -c commname system system.sysUpTime : was successful
Information:
netmon.trace reported
timestamp: //nl_pinger.c[ ]: -> received unexpected ping from systemx
timestamp: //nl_snmper.c[ ] : Operation 1 not enabled for node systemx
After running netmon -y it added snmpAddr for several IPs but then said seed
file is not reloaded:
*
*
readseed: added snmpAddr ip=IP
netmon: Error in the seed file '/usr/local/NetView/conf/netmon.seed'. Seed file
is not reloaded.
*
*
14:25:36 : .//nl_main.c[556] : ** waiting for 1 14:25:36 : .//nl_main.c[596] :
-- received stuff 0x100
14:25:36 : .//nl_trapper.c[328] : TRAP: descr 'Demand polling on node systemx.'
.... host 'systemx' data '/usr/OV/tmp/demand.55930 0' db 'openview'
***
I guess I can run reset_ci again and hope that it works but what is the root
problem and how can I prevent it from happening again?
-----Original Message-----
From: James_Shanks@tivoli.com [mailto:James_Shanks@tivoli.com]
Sent: Tuesday, March 27, 2001 6:25 PM
To: IBM NetView Discussion
Subject: RE: [NV-L] Alternate Community Names
libtmf.a is a Tivoli library. You have not sourced the Tivoli environment.
Generally speaking, if you are going to use NetView or Framework commands
from the command line, and especially if you are going to start and stop
the daemons, you must source the Tivoli environment first.
Enter " . /etc/Tivoli/setup_env.sh " before you try to start things
and you should be OK. Don't forget the space between the dot and the
slash. What does this do? You can see by typing "set | more" before and
after you do it and notice how dramatically your environment changes.
But once having started any of them with ovstart, whether you issued it or
it was issued in a script for you, you will probably have to stop them all
and restart them all, since the ovstart command starts the first daemon,
and it inherits the environment you have set, and then it starts all the
others, and they inherit from him. So if ovspmd didn't get it, the others
won't either. Generally speaking snmpCollect and ovtopmd are the ones
affected. They get library errors because they cannot find the Tivoli
stuff.
So my advice at this point is to issue, as root
(1) ovstop nvsecd (stops all daemons, especially nvsecd, the security
daemon the others depend on)
(2) . /etc/Tivoli/setup_env.sh (source the Tivoli environment)
(3) ovstart -v (starts all daemons and tells you about it as it does so)
James Shanks
Team Leader, Level 3 Support
Tivoli NetView for UNIX and NT
Montoya Vincent-O10501 <Vincent.Montoya@motorola.com>@tkg.com on 03/26/2001
03:06:00 PM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
Sent by: owner-nv-l@tkg.com
To: "'IBM NetView Discussion'" <nv-l@tkg.com>
cc:
Subject: RE: [NV-L] Alternate Community Names
James,
I did what you suggest and received the error below. It does appear that
the enviroment has been corrupted (luckily a sandbox). Do you have any
suggestions? I would like to clear it up without having to reload NetView.
/usr/OV/service/reset_ci
Start of reset_ci, after successful completion
you will receive a reset_ci finished message.
Stopping netmon...
Stopping snmpCollect...
Stopping OVORS_M...
Restarting OVORS_M...
Reregistering /usr/OV/lrf/ovesmd.lrf...
ovaddobj - Static Registration Utility
Successful Completion
Reregistering /usr/OV/lrf/ovelmd.lrf...
ovaddobj - Static Registration Utility
Successful Completion
Restarting netmon...
Restarting snmpCollect...
exec(): 0509-036 Cannot load program objcall because of the following
errors:
0509-150 Dependent module libtmf.a(shr.o) could not be loaded.
0509-022 Cannot load module libtmf.a(shr.o).
0509-026 System error: A file or directory in the path name does
not exist.
Unable to update the label for the NetView server icon.
-----Original Message-----
From: James_Shanks@tivoli.com [mailto:James_Shanks@tivoli.com]
Sent: Monday, March 26, 2001 10:07 AM
To: IBM NetView Discussion
Subject: RE: [NV-L] Alternate Community Names
I have never seen this error message before. The update script is trying
to do an ovaddobj command in the background and problems with it are
usually traced to some alteration of the NetView environment after
installation. You could do an ovorsutil -d to see what ORSD thinks your
environment is like and see if you can see something which is wrong,
especially with the hostname or IP address of your NetView box. If you
do, then run /usr/OV/service/reset_ci . If that doesn't help or you cannot
make that work, then I suggest you call Support and open a real problem
with them.
James Shanks
Team Leader, Level 3 Support
Tivoli NetView for UNIX and NT
Montoya Vincent-O10501 <Vincent.Montoya@motorola.com>@tkg.com on 03/24/2001
10:06:57 PM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
Sent by: owner-nv-l@tkg.com
To: "'IBM NetView Discussion'" <nv-l@tkg.com>
cc:
Subject: RE: [NV-L] Alternate Community Names
Leslie,
After applying the netmon option to "Always use alternate community names"
I received the following error:
Executing 'Set option for netmon daemon'....
Working....
Updated /usr/OV/lrf/netmon.lrf
ERROR: ORS rejected request: insufficient permissions. (OVs 1-23)
WARNING: Unable to register /usr/OV/lrf/netmon.lrf
Operation has completed.
I was running NetView as root and rw permsissions were set for netmon.lrf.
Do you know what persmisions the error is referring to?
-----Original Message-----
From: Leslie Clark [mailto:lclark@us.ibm.com]
Sent: Friday, March 23, 2001 8:35 PM
To: IBM NetView Discussion
Subject: Re: [NV-L] Alternate Community Names
Vincent, try doing a demandpoll on the node in the map that is
the Netview box. That will force netmon to use the alternates file, and
it should find the right string and add and entry into the place where
Netview stores these things: Options...SNMP Config (aka ovsnmpd.conf
or xnmsnmpconf). Or you can just go there and add it manually. Look
carefully first to see that there is not already an entry in there for it,
either
by name or by address. You want an entry for the NAME.
Don't confuse this with /etc/snmpd.conf. I think of it like this:
/etc/snmpd.conf is for inbound snmp requests. What will aix accept?
ovsnmpd.conf is for outbound snmp requests. What will Netview use?
When you get to the mlm stuff you will probably get into a bigger mess
and then muddle through. I'll tell you right now, I always end up adding
an entry in /etc/snmpd.conf. Aside from allowing 127.0.0.1 to use the
specified string, allow the network address of the box to use it also.
I don't have time to wonder why.
Cordially,
Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit
Montoya Vincent-O10501 <Vincent.Montoya@motorola.com>@tkg.com on 03/23/2001
06:53:48 PM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
Sent by: owner-nv-l@tkg.com
To: "'nv-l@tkg.com'" <nv-l@tkg.com>
cc:
Subject: [NV-L] Alternate Community Names
To All,
summary:
Running as root on system.
The /etc/snmpd.conf file was modified to have a community name "newcomm"
versus public and the Mgr /usr/OV/conf/communityNames.conf to reflect the
"newcomm" and I was not able to snmp poll the system.
detail:
Via Test-->IP/TCP/SNMP connectivity everything check OK for the system
under
test. After changing the Mgr to reflect the modification everything checked
OK.
/usr/OV/conf/communityNames.conf
from:
to :
newcomm
After modifying the agent /etc/snmpd.conf file:
from:
community public
to:
community newcomm
The snmp poll timed-out then the changes were backed out and everything
checked OK.
Then I made all the changes to reflect the new community name and tried
applying the netmon option to turn Always Use Alternate Community Names and
the following error ocurred:
<<...OLE_Obj...>>
<<...OLE_Obj...>>
The permissions on the /usr/OV/lrf/netmon.lrf are 644 wr r r. What is OVs
1-23?
AIX Version 4.3
NetView Version 6.0
Seed file with non-snmp and snmp enabled agents. No ranges (wildcards) are
specified.
Mid-Level Management is beeing implemented.
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|