- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- Re: Log NQA module events ONLY to logfile and filt...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2018 02:51 AM
07-16-2018 02:51 AM
Log NQA module events ONLY to logfile and filter other on MSR
Good day.
I need to log events from NQA or TRACK modules to local logfile and filter any other events on MSR3012. Here configuration example:
!
info-center logfile frequency 60
info-center source default logfile deny
info-center source NQA logfile level debugging
info-center source TRACK logfile level debugging
#
nqa entry admin ping
type icmp-echo
destination ip 192.168.1.1
frequency 5000
probe count 3
probe timeout 200
reaction 1 checked-element probe-fail threshold-type consecutive 10 action-type trigger-only
#
nqa schedule admin ping start-time now lifetime forever
#
track 1 nqa entry admin ping reaction 1
#
[MSR3012]displ logfile summary
Log file: Enabled
Log file size quota: 5 MB
Log file directory: cfa0:/logfile
Writing frequency: 0 hour 1 min 0 sec
When NQA probe is down, there are no any messages in logfile. Moreover, logbuffer is empty too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2018 04:01 AM
08-07-2018 04:01 AM
Re: Log NQA module events ONLY to logfile and filter other on MSR
Hi,
please check with "display logbuffer reverse" or you can try with the below commands.
>info-center source NQA logfile level notification
How ever logfile summary is different one and it will contain the historical logs of the switch.
if you wanted to save 3 months of the logs then run the "logfile save" command then it will trigger the dumo and saves under the respective directory.
I work for HPE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2018 08:12 AM - last edited on 08-20-2018 03:32 AM by Parvez_Admin
08-08-2018 08:12 AM - last edited on 08-20-2018 03:32 AM by Parvez_Admin
Re: Log NQA module events ONLY to logfile and filter other on MSR
Thanx for your help @bala5.
NQA module events appear in logbuffer only when I do:
!
info-center source NQA logbuffer level debugging
info-center source NQA monitor level debugging
!
<SW> terminal monitor
<SW> terminal debug
<SW> debug nqa reaction
!
After that I can see logs in my active session and in logbuffer, for example:
!
[SW]displ logbuffer reverse | include NQA
*Aug 8 18:10:47:840 2018 SW NQA/7/Reaction: NQA entry (admin-ping) reaction (1): Send probe-fail trap.
*Aug 8 18:10:47:839 2018 SW NQA/7/Reaction: NQA entry (admin-ping) reaction (1): Status changed from over-threshold to below-threshold.