To: | nv-l@lists.tivoli.com |
---|---|
Subject: | Re: Node added |
From: | "James Shanks" <jshanks@us.ibm.com> |
Date: | Fri, 16 Nov 2001 12:55:57 -0500 |
This is a multipart message in MIME format. Catalina - The daemons do not share your paths. They have their own, inherited from ovspmd who starts them. Not only must the command you enter into the Action node have a full path, the script you are running must use a full path also. The nvaction log you posted clearly shows the problem. it says repeatedly that the nsupdate8 command is not found. James Shanks Level 3 Support for Tivoli NetView for UNIX and NT Tivoli Software / IBM Software Group "CATALINA MARTINEZ" <CATALINA.MARTINEZ@tlc.state.tx.us> Sent by: owner-nv-l@tkg.com 11/16/2001 12:33 PM Please respond to IBM NetView Discussion To: <nv-l@tkg.com> cc: Subject: Re: [NV-L] Node added Hello, I did the following: 1 separated the script into 2 parts. One to do the snmpget and a separate one to do nsupdate8. I also created a ruleset to execute both: Event stream--> nv6000 trap (runs the snmpget script)--> action node (runs the nsupdate8). So I got errors for the nsupdate8 command. I did what Stephen recommended using the full path. I tried again, this time I did not get any errors. See NVACTION.ALOG and trapd.log. However, it did not update the dns file. I tried also logging on as a regular user and ran the nsupdate8 command (thinking that maybe that only ROOT could send command) but it worked (from the command line, of course). Any other suggestions???? ?----------------------------------NVACTION.ALOG---------------------------------------------------------------------------------------------- 2001/11/16 10:10:03 : 3 :nsupdate8 /listchm/dnsadd~2001/11/16 10:10:03~1.3.61.4.1.2.6.3.1~6~58785794~169345028~0~public~2~5500a.net.local~Node Added~~topodb~1~N~1 2001/11/16 10:10:03 : 3 command failed. error data: /usr/OV/tmp/@@NVscript.3[74]: nsupdate8: not found. 2001/11/16 10:10:03 : 3 sending trap for failed command. 2001/11/16 10:10:03 .//nl_Actionsvr.C[1040] : action failure notification set. 2001/11/16 10:16:14 : 4 :/listchm/dnsupdate~2001/11/16 10:16:14~1.3.6.1.4.1..6.3.1~6~58785794~169345030~0~public~2~s6509srvr.net.local~Node Added~~topo_db1~N~1 2001/11/16 10:16:14 : 4 command failed. error data: /listchm/dnsupdate[3]: nsupdate8: not found. 2001/11/16 10:16:14 : 4 sending trap for failed command. 2001/11/16 10:16:14 .//nl_Actionsvr.C[1040] : action failure notification set. 2001/11/16 10:16:14 : 4 :/listchm/dnsupdate~2001/11/16 10:16:14~1.3.6.1.4.1..6.3.1~6~58785794~169345030~0~public~2~s6509srvr.net.local~Node Added~~topo_db1~N~1 2001/11/16 10:16:14 : 4 command failed. error data: /listchm/dnsupdate[3]: nsupdate8: not found. 2001/11/16 10:16:14 : 4 sending trap for failed command. 2001/11/16 10:16:14 .//nl_Actionsvr.C[1040] : action failure notification set. 2001/11/16 10:17:34 : 5 :/listchm/dnsupdate~2001/11/16 10:17:34~1.3.6.1.4.1..6.3.1~6~58785794~169345029~0~public~2~5500b.net.local~Node Added~~topo_db~1~N~1 2001/11/16 10:17:34 : 5 command failed. error data: /listchm/dnsupdate[3]: nsupdate8: not found. 2001/11/16 10:17:34 : 5 sending trap for failed command. 2001/11/16 10:17:34 .//nl_Actionsvr.C[1040] : action failure notification sent. 2001/11/16 11:19:47 : 6 :/listchm/dnsupdate~2001/11/16 11:19:47~1.3.6.1.4.1.2.6.3.1~6~58785794~169345029~0~public~2~5500b.net.local~Node Added~~topo_db~1~N~1 ?----------------TRAPD.LOG------------------------------------------------------------------------------------- 1005925335 1 Fri Nov 16 09:42:15 2001 r6509b.net.local N Node Added 1005925335 7 Fri Nov 16 09:42:15 2001 <none> N netmon disconnecting from trapd. 1005927003 7 Fri Nov 16 10:10:03 2001 <none> N netmon connected to trapd. ected to trapd. 1005927003 1 Fri Nov 16 10:10:03 2001 5500a.net.local N Node Added 1005927003 7 Fri Nov 16 10:10:03 2001 <none> N netmon disconnecting from trapd. 1005927003 7 Fri Nov 16 10:10:03 2001 Netview2 a /usr/OV/tmp/@@NVscript.3[74]: nsupdate8: not found. 1005927374 7 Fri Nov 16 10:16:14 2001 <none> N netmon connected to trapd. 1005927374 1 Fri Nov 16 10:16:14 2001 s6509srvr.net.local N Node Added 1005927374 7 Fri Nov 16 10:16:14 2001 <none> N netmon disconnecting from trapd. 1005927374 7 Fri Nov 16 10:16:14 2001 Netview2 a /listchm/dnsupdate[3]: nsupdate8: not found. 1005927454 7 Fri Nov 16 10:17:34 2001 <none> N netmon connected to trapd. 1005927454 1 Fri Nov 16 10:17:34 2001 5500b.net.local N Node Added 1005927454 7 Fri Nov 16 10:17:34 2001 <none> N netmon disconnecting from trapd. 1005927454 7 Fri Nov 16 10:17:34 2001 Netview2 a /listchm/dnsupdate[3]: nsupdate8: not found. 1005929382 7 Fri Nov 16 10:49:42 2001 <none> N netmon connected to trapd. 1005929382 1 Fri Nov 16 10:49:42 2001 5500b.net.local N Node Added 1005929382 7 Fri Nov 16 10:49:42 2001 <none> N netmon disconnecting from trapd. 1005929523 7 Fri Nov 16 10:52:03 2001 <none> N netmon connected to trapd. 1005929523 1 Fri Nov 16 10:52:03 2001 5500b.net.local N Node Added 1005929523 7 Fri Nov 16 10:52:03 2001 <none> N netmon disconnecting from trapd. 1005931187 7 Fri Nov 16 11:19:47 2001 <none> N netmon connected to trapd. >>> shochste@us.ibm.com 11/16/01 10:39AM >>> Catalina, Try fully qualifying the path in front of that command. To be safe in any script, all commands should have the path spelled out. Kind regards, Stephen Hochstetler shochste@us.ibm.com International Technical Support Organization - Austin Office - 512-436-8564 FAX - 512-436-8701 ITSO redbooks at http://www.redbooks.ibm.com _________________________________________________________________________ NV-L List information and Archives: http://www.tkg.com/nv-l Catalina - The daemons do not share your paths. They have their own, inherited from ovspmd who starts them. Not only must the command you enter into the Action node have a full path, the script you are running must use a full path also. The nvaction log you posted clearly shows the problem. it says repeatedly that the nsupdate8 command is not found. James Shanks Level 3 Support for Tivoli NetView for UNIX and NT Tivoli Software / IBM Software Group
Hello, I did the following: 1 separated the script into 2 parts. One to do the snmpget and a separate one to do nsupdate8. I also created a ruleset to execute both: Event stream--> nv6000 trap (runs the snmpget script)--> action node (runs the nsupdate8). So I got errors for the nsupdate8 command. I did what Stephen recommended using the full path. I tried again, this time I did not get any errors. See NVACTION.ALOG and trapd.log. However, it did not update the dns file. I tried also logging on as a regular user and ran the nsupdate8 command (thinking that maybe that only ROOT could send command) but it worked (from the command line, of course). Any other suggestions???? —----------------------------------NVACTION.ALOG---------------------------------------------------------------------------------------------- 2001/11/16 10:10:03 : 3 :nsupdate8 /listchm/dnsadd~2001/11/16 10:10:03~1.3.61.4.1.2.6.3.1~6~58785794~169345028~0~public~2~5500a.net.local~Node Added~~topodb~1~N~1 2001/11/16 10:10:03 : 3 command failed. error data: /usr/OV/tmp/@@NVscript.3[74]: nsupdate8: not found. 2001/11/16 10:10:03 : 3 sending trap for failed command. 2001/11/16 10:10:03 .//nl_Actionsvr.C[1040] : action failure notification set. 2001/11/16 10:16:14 : 4 :/listchm/dnsupdate~2001/11/16 10:16:14~1.3.6.1.4.1..6.3.1~6~58785794~169345030~0~public~2~s6509srvr.net.local~Node Added~~topo_db1~N~1 2001/11/16 10:16:14 : 4 command failed. error data: /listchm/dnsupdate[3]: nsupdate8: not found. 2001/11/16 10:16:14 : 4 sending trap for failed command. 2001/11/16 10:16:14 .//nl_Actionsvr.C[1040] : action failure notification set. 2001/11/16 10:16:14 : 4 :/listchm/dnsupdate~2001/11/16 10:16:14~1.3.6.1.4.1..6.3.1~6~58785794~169345030~0~public~2~s6509srvr.net.local~Node Added~~topo_db1~N~1 2001/11/16 10:16:14 : 4 command failed. error data: /listchm/dnsupdate[3]: nsupdate8: not found. 2001/11/16 10:16:14 : 4 sending trap for failed command. 2001/11/16 10:16:14 .//nl_Actionsvr.C[1040] : action failure notification set. 2001/11/16 10:17:34 : 5 :/listchm/dnsupdate~2001/11/16 10:17:34~1.3.6.1.4.1..6.3.1~6~58785794~169345029~0~public~2~5500b.net.local~Node Added~~topo_db~1~N~1 2001/11/16 10:17:34 : 5 command failed. error data: /listchm/dnsupdate[3]: nsupdate8: not found. 2001/11/16 10:17:34 : 5 sending trap for failed command. 2001/11/16 10:17:34 .//nl_Actionsvr.C[1040] : action failure notification sent. 2001/11/16 11:19:47 : 6 :/listchm/dnsupdate~2001/11/16 11:19:47~1.3.6.1.4.1.2.6.3.1~6~58785794~169345029~0~public~2~5500b.net.local~Node Added~~topo_db~1~N~1 —----------------TRAPD.LOG------------------------------------------------------------------------------------- 1005925335 1 Fri Nov 16 09:42:15 2001 r6509b.net.local N Node Added 1005925335 7 Fri Nov 16 09:42:15 2001 <none> N netmon disconnecting from trapd. 1005927003 7 Fri Nov 16 10:10:03 2001 <none> N netmon connected to trapd. ected to trapd. 1005927003 1 Fri Nov 16 10:10:03 2001 5500a.net.local N Node Added 1005927003 7 Fri Nov 16 10:10:03 2001 <none> N netmon disconnecting from trapd. 1005927003 7 Fri Nov 16 10:10:03 2001 Netview2 a /usr/OV/tmp/@@NVscript.3[74]: nsupdate8: not found. 1005927374 7 Fri Nov 16 10:16:14 2001 <none> N netmon connected to trapd. 1005927374 1 Fri Nov 16 10:16:14 2001 s6509srvr.net.local N Node Added 1005927374 7 Fri Nov 16 10:16:14 2001 <none> N netmon disconnecting from trapd. 1005927374 7 Fri Nov 16 10:16:14 2001 Netview2 a /listchm/dnsupdate[3]: nsupdate8: not found. 1005927454 7 Fri Nov 16 10:17:34 2001 <none> N netmon connected to trapd. 1005927454 1 Fri Nov 16 10:17:34 2001 5500b.net.local N Node Added 1005927454 7 Fri Nov 16 10:17:34 2001 <none> N netmon disconnecting from trapd. 1005927454 7 Fri Nov 16 10:17:34 2001 Netview2 a /listchm/dnsupdate[3]: nsupdate8: not found. 1005929382 7 Fri Nov 16 10:49:42 2001 <none> N netmon connected to trapd. 1005929382 1 Fri Nov 16 10:49:42 2001 5500b.net.local N Node Added 1005929382 7 Fri Nov 16 10:49:42 2001 <none> N netmon disconnecting from trapd. 1005929523 7 Fri Nov 16 10:52:03 2001 <none> N netmon connected to trapd. 1005929523 1 Fri Nov 16 10:52:03 2001 5500b.net.local N Node Added 1005929523 7 Fri Nov 16 10:52:03 2001 <none> N netmon disconnecting from trapd. 1005931187 7 Fri Nov 16 11:19:47 2001 <none> N netmon connected to trapd. >>> shochste@us.ibm.com 11/16/01 10:39AM >>> Catalina, Try fully qualifying the path in front of that command. To be safe in any script, all commands should have the path spelled out. Kind regards, Stephen Hochstetler shochste@us.ibm.com International Technical Support Organization - Austin Office - 512-436-8564 FAX - 512-436-8701 ITSO redbooks at http://www.redbooks.ibm.com _________________________________________________________________________ NV-L List information and Archives: http://www.tkg.com/nv-l |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: Node added, CATALINA MARTINEZ |
---|---|
Next by Date: | RE: [NV-L] RE: Réf. : Re: [NV-L] Remove Workstation from Map, JWhite |
Previous by Thread: | Re: Node added, CATALINA MARTINEZ |
Next by Thread: | RE: [NV-L] RE: Réf. : Re: [NV-L] Remove Workstation from Map, JWhite |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web