gauravshar
Level 2
Level 2

Hi there,

We have a cisco css 11500. We wish to configure the SNMP/RMON in such a way that we get the log when the number of connections for a particular service (or may be all the services) exceeds a particular value.

Please check if the following code is good, or there is any need of some modification:

rmon-event 1
  type log-and-trap
  community XYZ
  description "When number of connections are rising beyond the unsafe region"
  owner "Network"
  active

rmon-event 2
  type log-and-trap
  community XYZ
  owner "Network"
  description "When number of connections are falling back to safe region"
  active

!************************* RMON ALARM *************************
rmon-alarm 1
  owner "Network"
  sample-type absolute
  sample-variable apSvcConnections.
  startup-type rising-and-falling
  rising-threshold 100
  rising-event 1
  falling-threshold 90
  falling-event 2
  active

Moreover, as I have typed the RMON events as log and trap, would I be getting automated emails in case of the event occurs (sendmail).

Thanks,

Gaurav