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 |
Hello Doctors, This is my question: We are thinking about a new Network Supervision Method here in the EVRY control center. I wrote a Test rule who fire after 3 counters Zeroed. It works fine,but I would like to catch the Router and Circuit name to send these informations to System Watchdog. Example: Rule when : NODE4 * CIRCUIT * counter Zeroed . The Rule Fire for example on the router EVTDR1 circuit EVT-TDC I would like to send the following string: NETWRK-I-Router EVTDR1 circuit EVT-TDC counters Zeroed to S watchdog. How could I do this ,instead of writing a rule for each circuit on each router. Thanks a lot for the HELP. Best Regards. Patrick.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
5924.1 | check the params passed | CTHQ::WOODCOCK | Skiing's 1st Human Groomer | Tue Mar 29 1994 17:28 | 21 |
If I understand your question right you need only use the params normally passed by mcc to your procedure. Re-write your rule with the following com file (test.com). $!test.com $ sho sym p1 $ sho sym p2 $ sho sym p3 $ sho sym p4 $ sho sym p5 $ sho sym p6 $ sho sym p7 $ type 'p8 $ exit After the rule fires test.log will contain all the information that it looks like you need. You need only use dcl to parse the symbols or the file to get the info you are looking for. cheers, brad... |