[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

5449.0. "MCC/VMS V1.3.0 & HISTORIAN & SCRIPT AM" by ZTOIS1::VISTA (Renato VISTA, MCS/SPS France/Strasbourg) Mon Aug 09 1993 08:19

    Hi,
    
    I'm wanting to record script instances using HISTORIAN FM (on
    VMS/DECmcc V1.3.0 platform).
    
    It works on some instances, but for others I have the following
    message  : 
    
    MCC> sho record script .script.chipcom_procedures
    CHIPCOM_PORT_ETH_STAT * partition= status, in domain .demo_openlink
    
    Script LOCAL_NS:.script.chipcom_procedures chipcom_port_eth_stat
    etoile1_4_1
    AT  9-AUG-1993 11:48:15
    
    Recording parameters for the partition "Status" :
                            Recording state = ACTIVE,
                                State since =  9-AUG-1993 11:47:01.84,
                             Polling period = 0 00:20:00.00,
                                 Begin time =  9-AUG-1993 11:30:14.39,
                                   End time = 25-MAY-2012 00:00:00.00,
                                   Keep age = 0 12:00:00.00,
                               Request time =  9-AUG-1993 11:30:14.39,
                               Requested by = "SYSTEM",
               Time of last successful poll = "NONE",
                 Number of successful polls = 0,
                   Time of last failed poll = " 9-AUG-1993 11:47:24.86",
                   Last poll failure reason = "MCC specialized exception
    						code : 2",
                     Number of failed polls = 1,
            Last historical expiration time = "NONE",
            Time of last expiration failure = "NONE",
             Last expiration failure reason = "N/A",
              Number of expiration failures = 0
    
    
    Does anybody know the MCC code meaning returned above (ie code = 2) ?
    
    Thank you for your replies.
    Renato
    
    
T.RTitleUserPersonal
Name
DateLines
5449.1more details...ZTOIS1::VISTARenato VISTA, MCS/SPS France/StrasbourgMon Aug 09 1993 08:5470
    Hereunder more details about .0 problem/message :
    
    MCC> sho  script .script.chipcom_procedures chipcom_port_eth_stat
    etoile1_4_1 all char
    
    Script LOCAL_NS:.script.chipcom_procedures chipcom_port_eth_stat etoile1_4_1
    AT  9-AUG-1993 13:44:04 Characteristics
    
    Examination of attributes show:
                                    Command =
    		"@mcc_scripts:CHIPCOM_PORT_ETHERNET_STAT.COM etoile1 4 1 900"
                                    Timeout = 0 00:17:00.00
    
    where	etoile1		= chipcom snmp synonym name
    		4		= slot number
    		1		= port number
    		900		= time in seconds as Sample interval
    
    Renato
    
    PS : when using the same instance in interactive mode, with 10 seconds
    of sampling interval...
    
    
    MCC> sho script .script.chipcom_procedures chipcom_port_eth_stat 
    		etoile1_4_1 all attr
    
    Script LOCAL_NS:.script.chipcom_procedures chipcom_port_eth_stat etoile1_4_1
    AT  9-AUG-1993 13:50:22 All Attributes
    
                  Agent and Module and Port = etoile1_4_1
                           Command Executed =
    	"@mcc_scripts:CHIPCOM_PORT_ETHERNET_STAT.COM etoile1 4 1 10"
                  Management Module Synonym = "ETOILE1"
                                Port Status = "okay"
                                 Slot Index = 4
                                 Port Index = 1
                                  Port Type = "media"
                             Port Connector = "fiber"
                  Port Administrative State = "enabled"
                               Port Network = "per_module"
                               Network Type = "ethernet"
                       Good Received Frames = 157 Frames
                       Good Received Octets = 17264 Octets
                  Multicast Received Frames = 153 Frames
                  Broadcast Received Frames = 0 Frames
            Too Long Errors Received Frames = 0 Frames
           Alignment Errors Received Frames = 0 Frames
                 CRC Errors Received Frames = 0 Frames
                  Remote Collision Received = 0 Frames
             Ethernet Bandwidth Utilization = 0 %
                             Collision Rate = 0 %
                                 Error Rate = 0 %
                   Port Last Source Address = "AA000400ADBE"
                    Port Last Error Address = "000000000000"
                         Statistic Duration = 10 Seconds
                          Sample 1 MCC Time = "1993-08-09-13:52:11.00"
                          Sample 2 MCC Time = "1993-08-09-13:52:24.00"
                                    Command =
    	"@mcc_scripts:CHIPCOM_PORT_ETHERNET_STAT.COM etoile1 4 1 10"
                                    Timeout = 0 00:17:00.00
    
    PPS : please note that all is running correctly on MCC/ULTRIX V1.3.0
    platform...
    
    
    		
    
                
    
5449.2TOOK::SHMUYLOVICHMon Aug 09 1993 09:5516
	Re: .0

    
>                   Last poll failure reason = "MCC specialized exception
>    						code : 2",
>    
>    Does anybody know the MCC code meaning returned above (ie code = 2) ?
    

    Invoke DAP utility (man/t/d) and do the following:

DAP> show class script directive show exception code 2 -
_DAP> definition reply_text

	Sam
    
5449.3exception code 2 NOT FOUND in SCRIPT/SHOW directiveZTOIS1::VISTARenato VISTA, MCS/SPS France/StrasbourgMon Aug 09 1993 10:1132
    
    Sam,
    
    Thank you for your reply, but when doing the command you've given, the
    following message is returned :
    
    DAP>  show class script directive show exception code 2  definition
    reply_text
    %DAP-W-NO_DEF_DATA, Definition data does not currently exist for this
    definition
    
    And when looking step by step within Dictionary, I've only got the
    following description :
    
    DAP> show
    
       Class (1) : SCRIPT
    ---> Directive (6) : SHOW
           Definition (3) : DIRECTIVE_TYPE
           Definition (3) : DISPLAY
           Definition (3) : CATEGORIES
           Definition (3) : PRESENTATION_NAME
           Response (8) : SHOW_SUCCESS 1
           Response (8) : ATTRIBUTES_EMPTY 3
           Exception (9) : MCC_K_SHOW_UNSUPORTED_GROUP 1
           Exception (9) : UNSUPPORTEDHANDLESTATE 23
    
    Is there any mistake ?
    
    Renato
    
    
5449.4TOOK::SHMUYLOVICHMon Aug 09 1993 13:044
    
    	It looks to me like script MSL is incomplete.
    
    	Sam
5449.5It works now...ZTOIS1::VISTARenato VISTA, MCS/SPS France/StrasbourgTue Aug 10 1993 03:4111
    
    To .4,
    Sam,
    
    Thank you for your replies. After testing, MCC Code=2 is returned when
    DCL problem occurs within the run procedure, such as I've had in my own
    procedure (and I've fixed, so it works correctly now), ie a working
    directory problem because of VMS logical names.
    
    Renato