Netmaster monitor alerts written to SYSLOG
search cancel

Netmaster monitor alerts written to SYSLOG

book

Article ID: 142883

calendar_today

Updated On:

Products

NetMaster Network Automation NetMaster Network Management for SNA NetMaster Network Management for TCP/IP NetMaster File Transfer Management

Issue/Introduction

Hi,

We had a Netmaster Monitor alert that was shown at the Netmater Primary Meny. I had to logon to Netmaster to see this warning.

I wonder it the monitor alerts could be written to the SYSLOG?

If possible, I could pick it up and use our automation package (not Netmaster).

Regards

Environment

Release : 12.2

Component : CA NetMaster Network Management for TCP/IP

Resolution

You could create an ALERT EXIT which would be driven each time an ALERT is created.

You specify the EXIT NAME in the ALERTS parameter group.

NMCS81--------------- Customizer : Parameter Group -

Command ===>

Es ALERTS - Alert Monitor Interface sssssssssssssssssss
e
e Alert Monitor Exit
e Alert Exit Name ............ KGAMEXIT
e External Alert Receiver



In the NCL would look like the following.

FOR TESTING - I would suggest to COMMENT OUT the &WTO line and UNCOMMENT the &WRITE lines.

This will allow the messages to go to the NM log and NOT the system log.

I prefixed the messages with NETM1234 - you can pick any message id you want.

Make sure to UNLOAD PROC= each time you make changes to it.

This will removes the OLD one out of memory.

===============================================================
EDIT AUCM0.NMCS.TESTEXEC(KGAMEXIT) - 01.03 Member KGAMEXIT saved .
Command ===> Scroll ===> CSR .
****** ***************************** Top of Data ****************************** .
000100 &CONTROL NOLABEL .
000200 -* &CONTROL TRACELOG .
000300 -*&write term=no log=yes data=NETM1234 &$amxdesc &$AMXSEVERITY &$AMXDATE .
000301 -*&write term=no log=yes data=NETM1234 &$AMxAPPLID &$AMXTEXT1 &$AMXTIME .
000302 &wto data=NETM1234 &$amxdesc &$AMXSEVERITY &$AMXDATE &$AMXTIME .
000400 $RC = 0 .
000500 -**************************************************** .

The end result of the &WTO looks like the following.

10:53:31.20 STC14187 00000094 NETM1234 STACK (OSXAA0V85): ifStatusOper is Down 1 20200109 10.53.31
10:53:31.21 STC14187 00000094 NETM1234 STACK (EZ6SAMEMVS): ifStatusOper is Down 1 20200109 10.53.31