monitoring system commands

book

Article ID: 212305

calendar_today

Updated On:

Products

DX Infrastructure Management

Issue/Introduction

How to monitor the output of different OS commands? Could these values be stored in QoS and therefore propagated to another system such as APM?

Environment

Release : 20.x

Component : UIM LOGMON

Resolution

You could use logmon probe for this, below is an example, you could use it as reference:

logmon - run command and generate one alarm that contains all output (broadcom.com)

Additional Information

More information on logmon probe:
==========================

Logmon training 5 part web series:
===========================

Part 1:
=======
Overview and Logmon Uses - YouTube

Part 2:
=======
Logmon User Interfaces - YouTube

Part 3:
========
Logmon Regex Tools - YouTube

Part 4:
=======
Logmon Use Case 1 - YouTube

Part 5:
=======
Logmon Use Case 2 - YouTube


Regex tools you could use:
====================

1. regexbuddy
2. regexR

 

Regex technical documents:
======================

1. Regex Part 1 technical document:

REGEX: Part 1 - The Basics (broadcom.com)

2. Regex How to Include and Exclude in same expression: 

Regex How to Include and Exclude in same expression (broadcom.com)