[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

4519.0. "SCRIPT - presentation name error" by HERON::PATEL_A (LoLo-AQIC-I82Q-B4IP, - LMF) Tue Feb 09 1993 14:26

    Been playing with SCRIPT AM from t1.3.0
    I set up the remote object and proxy axxess.
    
    the memory script has been registerd for the local system - this works
    fine.
    
    But the script registered with P1 = remote_system_name, when executed
    produces the following error
    
    001  9-FEB-1993 20:26:49.77   Presentation name for an attribute or
    argument is not in the Dictionary.
    
    can anyone explain pls..
    
    Amrit
T.RTitleUserPersonal
Name
DateLines
4519.1Very Strange .. I'll check into itMOLAR::ROBERTSKeith Roberts - Network Management ApplicationsWed Feb 10 1993 09:268
  Were you using the 'Developers Dictionary' ?  Probably not - you were just
  executing one of the demo scripts and not adding any of your own custom
  scripts - Right ?

  Also - what was the exact 'Script Command' that you were using in the
  script create directive ?

  /keith
4519.2using the mcc supplied scriptsHERON::PATEL_ALoLo-AQIC-I82Q-B4IP, - LMFWed Feb 17 1993 08:398
    sorry for the delays,  your assumptions are correct.  the command I use
    for both is the same
    
    I register a script to do memory test from the tool box for the local
    system - works, the same script with the proxy etc set up same command
    during registration causes the failiure
    
    Amrit
4519.3I cannot reproduce this problemMOLAR::ROBERTSKeith Roberts - Network Management ApplicationsWed Feb 17 1993 11:5339
  Amrit,

  I just tried using both the FCL and Iconic Map to execute the Memory script.
  The FCL command was:

    create script keith memory local-system -
      command = "@mcc_scripts:mcc_memory"

  I executed the script (Show all status) and it worked.

  I then made a script which would execute remotely .. the FCL command was:

    create script keith memory remote-molar -
      command = "@mcc_scripts:mcc_memory molar"

  Because this is a remotely executing script, I had to setup the remote
  system (MOLAR) first:

    o In Authorize I added network proxy for myself:

	UAF> add/proxy nanovx::roberts roberts/default

    o I defined a system logical to say where the mcc_memory script was:

	def/sys/exe mcc_memory mcc_scripts:mcc_memory.com

  Then, from my local system (NANOVX) I executed the 'remote-molar' script.

  I enabled opcom and saw a subprocess get started.  This subprocess was
  executing the 'mcc_memory' script on my local system.  Then, a network
  process started on the remote system, MOLAR.  The network process was
  executing the mcc_memory script on the remote system.  Then, I got the
  output of the remotely executing script.

  I tried this with both FCL and the Iconic Map.

  Are these the steps you tried ?

  /keith
4519.4LOOSELY INTEGRATED SCRIPT EXAMPLES???IOOSRV::GALVINMic, (306) 781-5448Mon May 31 1993 19:1026
    Keith,
    	I've been doing some work with the SCRIPT AM as well...  I want to
    use the IMPM exclusively, and want to eventually write ALARM rules.  I
    have the MCC_MEMORY.COM down, now; what would be the syntax(from IMPM)
    to do the same remote activities for MCC_DISK, MCC_SYSGEN,
    MCC_DIRECTORY, and could you provide an example of how to use the
    COMMAND child entity within the IMPM?
    
    I am trying to use the LOOSELY integrated scripts and have to
    eventually monitor/alarm PDP systems...
    
    This is somewhat critical (aren't they always?)  We're trying to show a
    proof of concept to a large DEC client in Canada...
    
    Can you also talk about the correlation between the SCRIPT & COLLECTOR?
    
    The platform I'm working on is VMS 5.5-2, DECnet V, BMS 1.3
    
    thanks,
    
    /Mic
    
    PS I've got a "panick ridden" note at the end of this conference as
    well...
    
    
4519.5Not all the example scripts operate remotely .. 8(MOLAR::ROBERTSKeith Roberts - Network Management ApplicationsTue Jun 01 1993 11:4036
re: .4

>    	I've been doing some work with the SCRIPT AM as well...  I want to
>    use the IMPM exclusively, and want to eventually write ALARM rules.  I
>    have the MCC_MEMORY.COM down, now; what would be the syntax(from IMPM)
>    to do the same remote activities for MCC_DISK, MCC_SYSGEN,
>    MCC_DIRECTORY, and could you provide an example of how to use the
>    COMMAND child entity within the IMPM?

  The MCC_MEMORY and MCC_SYSGEN scripts were written to execute remotly;
  The MCC_DISK and MCC_DIRECTORY scripts were not .. it should be pretty
  easy to adapt any script to execute remotely.

  Using the COMMAND child entity is just like any other Script child entity.
  You click on COMMAND and give the script a name.  Then you fill out the
  form (description, command, timeout, category) .. for a Command I used:

	show time

  When I executed the script (show status) 'show time' executed and I was
  returned 'arg1 = 10:26:33' .. not that the first argument from 'show time'
  is the date .. this was mapped to the output entity and does not appear
  as an attribute.  Ok?

>   Can you also talk about the correlation between the SCRIPT & COLLECTOR?

  Both techniques allow you to get data into DECmcc without the need of
  writing C source code:

    o The Script AM gets Attributes into DECmcc, and
    o the Data Collector gets Events into DECmcc

  Hope this helps.

  /keith