Monitoring dual-core (supervisor engine 7-E) with a Script of the EEM.

Hello

I have a Cisco Catalyst 4500th 7-E supervisor engine and set up an EEM Script to monitor the dual core CPU Utilization by PRTG Network Monitor.

authorization of dualcore event manager applet work around

cron cron-event timer entry ' * * 0-6.

!

action 100 cli command "en".

action 120 cli command "see treat cpu | include five ".

!

action 220 regexp "Core 0: CPU utilization for five seconds: ([^ %] +) %; a minute: ([^ %] +); five minutes: ([^ %] +) %. ' * ' $_cli_result result c0cpu5sec c0cpu1min c0cpu5min

the 240 action if $_regexp_result eq 1

end of the 260 action

!

action 320 regexp ' Core 1: CPU utilization for five seconds: ([^ %] +) %; a minute: ([^ %] +); five minutes: ([^ %] +) %. ' * ' $_cli_result result c1cpu5sec c1cpu1min c1cpu5min

the 340 action if $_regexp_result eq 1

360 action ended

!

action 440, «config t» cli command

action 441 cli command "snmp mib expression owner cisco name c0cpu5sec.

action 442 cli command "$c0cpu5sec expression".

action 443 cli command "snmp mib expression owner cisco name c0cpu1min.

action 444 cli command "$c0cpu1min expression".

action 445 cli command "snmp mib expression owner cisco name c0cpu5min.

action 446 cli command "$c0cpu5min expression".

!

action 550, order cli "config t.

action 551 cli command "snmp mib expression owner cisco name c1cpu5sec.

action 552 cli command "$c1cpu5sec expression".

action 553 cli command "snmp mib expression owner cisco name c1cpu1min.

action 554 cli command "$c1cpu1min expression".

action 555 cli command "snmp mib expression owner cisco name c1cpu5min.

action 556 cli command "$c1cpu5min expression".

!

action 600 cli command 'end '.

!

end

It works fine, but on the recording buffer there are a lot of % SYS-5-CONFIG_I: configured from console by the vty0 (EEM:moncores) messages - one per minute - here is an example:

Oct 29 17:54:01: % SYS-5-CONFIG_I: configured from console by the vty0 (EEM:dualcore)

29 Oct 17:55:01: % SYS-5-CONFIG_I: configured from console by the vty0 (EEM:dualcore)

29 Oct 17:56:01: % SYS-5-CONFIG_I: configured from console by the vty0 (EEM:dualcore)

29 Oct 17:57:01: % SYS-5-CONFIG_I: configured from console by the vty0 (EEM:dualcore)

I considered logging remove duplicates command allows to prevent the consecutive record from multiple copies of the same system logging (syslog) message, but it is only available for the Cisco IOS XR.

Could someone help me to determine if it is possible to avoid this messages via the on-board system log manager, I tried to do this, but

I did not.

Kind regards

~ Sergio

You have found a bug in the converter.  Modify your script and remove the token of type 'game '.  Who should not have been in the converted Tcl code.

Tags: Cisco Network

Similar Questions

  • Having trouble with a script distort the selection of items that are part of an envelope.

    Hello, first assignment in time I hope I'm doing this correctly.

    Basically I have a file that requires a modification of the text which is then exported and edited in Photoshop. I recently started experimenting with fake envelope because it gave me more control over the duration of my text boxes of documents, but when I run my script on the document, it fails to catch any text that is wrapped with a distortion of the envelope. I guess it's because the script is looking for managers of related texts and partly of a distortion of the envelope text becomes something else.

    Thank you!

    OK, this should do the trick...

    Break and remake it!

    var sel = app.activeDocument.selection;
    app.executeMenuCommand ('Release Envelope');
    var sel2 = app.activeDocument.selection;
    for(var i = 0; i < sel2.length; i++){
      if(sel2[i].typename == "TextFrame"){
          sel2[i].contents = "new text for envelope";
      }
    }
    app.executeMenuCommand ('Make Envelope');
    
  • Help with a script for the date field

    Is this possible when the display of a date field is not also: date {EEEE, MMMM D, YYYY}

    then

    Message: "Please select a date from the calendar to the date.

    and focus on the date field

    Thank you

    I thought the event output, if you change the this.rawValue to xfa.event.change, you can try to use the calculate... event, which would mean that they get the message earlier.

    Anyway they will always be able to cut-and - paste a date if it is in the correct format.

    Bruce

  • Portege M300 with Dual Core

    Hello

    Does anyone know if it is planning to produce a Portege M300 with new processors dual-core?

    I need to replace an old Portege 4010 and wait if dual core is on the right track. 4010/M300 is a brilliant compromise of size because it fits into a safe hotel standrad room when they travel.

    Thank you, Richard

    Hello

    I got this Toshiba brochure on dual-core technology.
    But unfortunately I found nothing on the protégé and the dual-core.
    http://EU.computers.Toshiba-Europe.com/contents/Toshiba_teg/EU/workshop/files/Tech-Insight-2006-02-dual-core-explained-en.PDF

    But if you want, you can check this from Toshiba Web site.
    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/csg_national_entry_page.jsp?service=EU&from=http%3 A / / www.toshiba-europe.com/
    under Preview & information you will find a lot of news.

  • Dual Core processor problem

    Hi, I have an Acer Aspire 5720Z computer ultralight laptop with dual core on windows Vista. By a stupid mistake, I stopped him while he was updating software, so now whenever I try to turn it on, the screen goes black and it does not start.

    As it is a dual core, I keep all of my personal information in the D drive (+ photos, docs, etc.), so my question is: if I restore the operating system, are my deleted information even if it is registered in the D drive (not C)?

    I hope you can help me! Thank you

    CR

    Hello

    Dual-core refers to the processor on the motherboard, not to your problem or your disks.

    C: and D: are two partitions on your hard drive Acer; D: as for data on an Acer Acer has a "hidden" recovery partition

    And Yes; If you restore / recover (new) factory settings, you will lose all your data, such as C: and D: are removed and reinstalled like new during the recovery operation.

    Try a system restore to before that the problem using the F8 method (put your Acer in time, NOT again by reinstalling the operating system) in Safe Mode:

    http://www.bleepingcomputer.com/tutorials/how-to-start-Windows-in-safe-mode/#Vista

    System Restore:

    http://www.bleepingcomputer.com/tutorials/Windows-Vista-system-restore-Guide/

    See you soon.

  • Mystery calls the client with a company in the cell of the employee.

    My client reports that customer, calls are forwarded to his cell phone from the business telephony system. He describes what he believes to be the process as follows:

    1. visitors enter the main number of the company, which is associated with a script of the Unified Contact Center Express (UCCX).

    2. customers select form in the menu tree option.

    3. the customers are transferred SMS on the cell phone of the employee.

    The employee does not know which option to customers of the selection. When I look to the top of each DN in CUCM that is configured in the script UCCX, none of them are configured with a destination of the call forward. The problem does occur only a few times a week, but the employee becomes very frustrated. The only piece of information that I know for sure is the employee's cell phone number. Then maybe I could use it to search traces or logs. How would you suggest that I start to try to isolate the cause of this problem?

    Thank you

    ------------------

    CUCM 7.1.3

    UCCX 7.0 (1)

    ID start by watching CDR and the search for his mobile phone number

    Sent by Cisco Support technique iPad App

  • HP Pavilion: How much Ram can my handful of HP with Intel pentium Dual core CPU T3400 @ 2.16 Ghz. currently 2 GB of RAM

    Hello. How much Ram can my old HP pavilion manage processor Intel pentium Dual core CPU T3400 @2.16 Ghz. currently with 2 GB of RAM, running Win 7 (32-bit)? Thank you.

    From the Manual:

    2 customer accessible/upgradable memory module slots

    Supports dual-channel memory

    Supports up to 4 GB of RAM

    Support PC2-6400, 800 MHz and DDR2 PC2-5300 667 MHz, DDR2

    Up to 4 GB memory DDR2-667 or DDR2-800

    http://www.Amazon.com/Komputerbay-PC2-6400-notebook-lifetime-warranty/DP/B0032CP24W/ref=sr_1_3?ie=UTF8&QID=1456950957&SR=8-3&keywords=DDR2+laptop+memory

    If you stick with 32-bit Windows your system properties will show something between 3 and 3.5 GB of available memory. The processor is capable of a 64 bit OS.

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

  • What drivers are needed for windows 7 recognize a system with 4 processors, dual-core?

    I have a HP ProLiant DL580 G4 with the following CPU specifications:

    Four dual-core processors Intel Xeon 7140 M. All of them identical, but the specifications can be found here

    I'm running Windows 7 ultimate or Windows 7 Enterprise, but the recognition of all the 4 physical processors is a MUST.

    I can run windows on it very well, but he acknowledges that 2 of the 4 physical processors.

    It seems it would be a driver issue, as Device Manager shows two devices having the status of 'unknown '.

    If it is, in fact, a driver problem, does Microsoft have all the drivers available, or shall I seek third party?

    I would appreciate any advice you can offer. Thank you!

    I hope that someone will know better, but (from the search), so it seems that it only supports two:

    "Computers with multiple processors (CPU):
    Commercial servers, workstations and other PC high-end may have multiple physical processors. Windows 7 Professional, Enterprise and integral allow two physical processors, offering the best performance on these computers. Windows 7 Starter, Home Basic and Home Premium edition recognizes only a single physical processor. "

    - Http://windows.microsoft.com/en-us/windows7/products/system-requirements

  • What happens if there is multi-core or Dual-Core coupling processors to the top with Windows 7 Home Premium?

    So if I have a Windows7 Home Premium 64 - bit operating system and I use a processor dual core (Intel Dual Core e5300 CPU) are fully compatible or how they work together, given the fact that Windows 7 recognizes that one of the two processors? Playback of the system is expressed in the fact that it has two current processors. Both processors work simultaneously to form a combined data stream is a dormant or they turn on and off opposing to another so that each works half the time? Many scenarios as possible, but I would like to know... the real answer as to what needs to be changed eventually to bring together a system more fluid? My main question is the operating system and the processor may be an incompatibility problem that has not yet been addressed? I can't find any answer in the Center Compatabiity of Windows 7 or anywhere else. Or is the limitation of windows 7 Home Premium and only be able to support an unfounded processor see the fact that there are many systems that are in work today with these components. ?

    Hey Randy,

    If your system has two separate physical processors (not hearts) and you are running Windows 7 Home Premium, the second processor is completely ignored. It turns on and turn his fans, but it does not all rights for the computer. Windows 7 Home Premium will not take advantage of a single processor.

    However, if you have a single physical processor with multiple cores, Windows 7 64-bit will benefit from up to 256 cores. It is very probably the type of machine that you have because it is quite rare to have multiple processors co-location in a workstation computer.

    In this scenario, Windows will use two cores for separate tasks. Applications will be evenly distributed between the carrots, unless the application has been written to take advantage of multiple cores. The two hearts are turned on and both are used when the system is running.

    You can check if Windows has recognized the two hearts looking Manager of the tasks of your system:

    1. Open the Task Manager by right-clicking the taskbar, and then click Start Task Manager.
    2. Click the performance tab.

    The top two graphs show how much CPU is used, as well at the moment and for a few minutes. If the CPU usage history graph seems shared, your computer has multiple processors, a single dual-core CPU or both.

    Windows 7 system requirements also go in a little more detail on how many windows cores/processors can take in charge:

    http://Windows.Microsoft.com/systemrequirements

    Hope this helps to answer your question!

  • Premiere Pro with a dual-core processor

    Hello

    So, I was trying to first Pro CS6 to edit my AVCHD. MTS files. However my AMD Dual - Core Processor E300 couldn't handle files, resulting in "choppy" playback I was wondering if my processor would be better manage your HD files if I the converted to another type of file, ideas or suggestions? And which converter I could use to keep the 1920 x 1080 HD quality? I can't upgrade my CPU, I tried

    I appreciate all suggestions.

    This CPU is slower than molasses in winter, it marks a ugly 630 in the test CPU of the pass mark, where a decent CPU would score more 16 000.

    Forget it. No way it will work, it's far too slow and underpowered. Get a new PC. It will be same triple DV material, not to mention the AVCHD material. It's like asking your grandma to carry a load of 20 tons up a steep hill, with his 50 year old bike. Can't do.

  • Photoshop Elements 10 will work on an iMac with an Intel Dual Core processor?

    Photoshop Elements 10 will work on an iMac with an Intel Dual Core processor?

    Yes. See the data sheet for more details.

    Mac OS

    • Multicore Intel® processor
    • Mac OS X v10.5.8 to v10.7
    • 1 GB of RAM (2 GB for HD video functions)
    • 4 GB of free space (additional space required during installation)
    • display resolution 1024 x 768
    • DVD-ROM drive
    • QuickTime 7 software required for multimedia features
    • Internet connection required for Internet-based services *.
  • It will work with an amd processor dual-core E1-2500 (1.4 GHz)

    Will Firefox run on dual-core AMD E1-2500 (1.4 GHz) CPU

    I do not know. According to a page that I saw, it supports SSE2, which is listed in the minimum requirements: https://www.mozilla.org/firefox/40.0/system-requirements/

    Are you interested in giving it a try to see if it works?

  • How to use the turbo speed with dual‑core 1.6 GHz 1.6 GHz Intel Core i5 (tot Turbo Boost 2.7 GHz)

    I have a processor;

    1.6 GHz

    Dual‑core 1.6 GHz Intel Core i5 (tot Turbo Boost 2.7 GHz)

    How can I use the turbo boost for a game?

    Although I don't really recommend it, you can use the application as described in http://osxdaily.com/2016/07/13/disable-enable-turbo-boost-mac/ . Your iMac i5 should support it.

  • Presario Compaq SR1705UK with Pentium Dual Core processor?

    The Compaq Presario SR1705UK desktop computer will support a Pentium E2160 Dual Core processor CPU 1.8GHz/1M/800MHz?

    Care can be found here:

    http://support.HP.com/us-en/document/c00597578

    Nothing should happen to your PC.

    Worst case, it's that the PC does not start upward.  Replace your original processor in and it should be good.

    Best case scenario is that works, and you're in luck because that would be a good cooler processor running than a Pentium D 960!

  • Dual Core with 2 separate processors in a Satellite A100-599! ??

    Hello

    My Satellite A100-599 is a Core 2 Duo T7100 2 .00GHz.

    In the Manager of peripheral devices, processors, I have 2 CPUs:

    Intel Core 2 CPU T5500 @ 1.66 GHZ
    Intel Core 2 CPU T7200 @ 2.00GHZ

    Is this normal? I wouldn't not two seek T7200 @ 2.00GHZ?

    Thank you.

    Hello

    This is only a bug of Vista ;)
    You n t need to install anything from the Intel page.

    Just remove the CPU entries from Device Manager and reboot the laptop.
    Then the Vista should recognize and reinstall the software and should recognize the processor correctly!

    It could be that useful ;)

    Best regards

Maybe you are looking for