SmartMIB Small Solution:

Active Asynchronous Interface Type Counts


(SM-SmallSol0035)

Solution’s SOSL Based management process script:

 

The solution defines the following main modules:

 

MainMIBTables:

This is the main module that controls and instantiates the ‘mibTables’ module.

 

MainFilterAsyncTables:

This is the main module that controls and instantiates the ‘FilterAsyncTables’ module.

 

MainAsyncCount:

This is the main module that controls and instantiates the ‘AsyncCount’ module.

 

The details of the Main modules and the transient Service modules are provided below:

 


 

MODULE MainMIBTables ();

DESCRIPTION "Interface INVENTORY information";

BEGIN

            POLL-FREQ

            {

                        MODULE-CALL mibTables();

 

                        WAIT (12000);

            };

END


 

MODULE MainFilterAsyncTables ();

DESCRIPTION "Interface INVENTORY information";

BEGIN

 

            POLL-FREQ

            {

                        MODULE-CALL FilterAsyncTables();

 

                        WAIT (12000);

            };

END


 

MODULE MainAsyncCount ();

DESCRIPTION "Async Interface Count";

BEGIN

 

            POLL-FREQ

            {

                        MODULE-CALL AsyncCount();

 

                        WAIT (12000);

            };

END


 

MODULE mibTables ();

DESCRIPTION "Interface INVENTORY information";

BEGIN                       

            ALL-DEV BY DEV

            {

                        SET-INDEX ifTable ( ifDescr [ ifIndex, INT ] );

            };

END

 


 

MODULE FilterAsyncTables ();

DESCRIPTION "Interface INVENTORY information";

BEGIN

            ALL-DEV BY DEV

            {

                        WITH-INDEX ifTable

                        {

                                    POLL (   ifDescr;

                                                ifType;

                                                ifAdminStatus;

                                                ifOperStatus     );

 

                                    DEFINE ifAdminStatus     DB DISPL;     

                                    DEFINE ifType                DB DISPL;     

                                    DEFINE ifOperStatus       DB DISPL;

                                   

                                    IF ( ifAdminStatus  == "up" AND

                                          ifOperStatus    == "up" AND

                                          ifType             == "^Async$"   )

                                    THEN

                                                STORE-INDEX "IfAsync";

 

                                                ##########################################

                                                # "IfAsync" index list now contains the list of  

                                                # AAL5 type interfaces on each of the managed elements

                                                ##########################################

 

                                    ENDIF;

                        };

            };

END


 

MODULE  AsyncCount ();

DESCRIPTION "Async interface Count Process";

BEGIN

            ALL-DEV BY DEV

            {

                        DEFINE dbModemCount        DB INT;

                        DEFINE intModemCount        INT;

 

                        intModemCount = 0;

 

                        WITH-INDEX IfAsync

                        {

                                    intModemCount = intModemCount + 1;

                        };

 

                        dbModemCount = intModemCount;

            };

END

 


Active Asynchronous Interface Type Count Index Page

Previous Page Page 3/5 Next Page


[Small Solutions], [Professional Solutions], [Security Solutions], [Development Solutions]

[Home], [About], [Solutions Center], [NMS Market], [Products & Services],
[Management Technology], [Technical Support], [Contact us], [Site Map]