APC NMC 1 | config.ini – EventActionConfig

Since I’m using Syslog and mail, that’s what I’ll cover here.

Use ftp to grab a copy of the configuration file config.ini.
ftp <ip/hostname>
get config.ini
Action explained:
; UPS: Failed a self-test.
Errorcode   Event-/Syslog   Email    Trap       Paging
E0106=      E(S),           E[:::],  T[:::::],  P[:::]
E=Eventlog only. ES=Eventlog + Syslog.
Even if the syslog message generation isn't enabled, many actions defaults to ES.
If, in the GUI, an action that has syslog enabled per default is changed in any way,
and the syslog message generation is disabled, ES reverts to E.
Email recipients:
It's possible to configure up to 4 mail recipients.
EmailReceiver1Address through EmailReceiver4Address.
Default mail actions:
No matter if you got 2 or more mail recipients configured,
[:::] means all or none get a mail.
Yes, all or none. Which depends on the default setting of the action.
If the default setting is "send mail", [:::] means all your recipients get mail.
If the default setting is "do NOT send mail", [:::] means that.
Actions where eventlog defaults to ES also defaults to "send mail",
where those that defaults to E defaults to "send NO mail".
EmailRecieverAddress and the colons:
It's not wrong to say that each colon in [:::] represents an EmailRecieverAddress,
so that the rightmost colon equals EmailReceiver4Address and so forth.
But there's a colon missing. The reason why it's not expressed,
probably has to do with computers not comprehending nothing - all is value.

An example to clarify things.
If both EmailReceiver1Address and EmailReceiver2Address
is configured with mail adresses, an action that defaults to sending mails,
will send to both.
To remove EmailReceiver1Address from that action, change [:::] to [-:::].
Removing EmailReceiver2Address would look like this [:-::]. Both like this [-:-::]
If all 4 EmailReceiverAddresses were configured,
removing them all would resemble to this [-:-:-:-]

For actions that defaults to NOT sending mails, instead of - use +.
Remember the starting point is the same [:::],
but now we're adding and that resembles to this [+:+:+:+].

Leave a Reply

Your email address will not be published. Required fields are marked *