Service Monitoring Rule for an interface (of a server monitored via SNMP)

Dear community,

I am using SNMP to monitor different hosts.

As you can see in the following screenshot, some services show information about the interfaces of the host I am monitoring.

image

Let’s say the interface goes down or the cable from that interface gets unplugged, how can I check/test if CheckMK will show that service in a CRITICAL state? Is that possible?

On top of that, is there a way to manipulate that behavior by creating a service monitoring rule? And if yes, which rule would you use for that?

Thank you in advance for any help!

Hi Tasos,

Not sure if I understood what you are missing.
The rule in question is ‘Network interfaces and switch ports’ but maybe its also worth to have a look at ‘Network interface and switch port discovery’.

Beside that its worth to read the documentation and according blog posts e.g.:

regards

Mike

There is no direct check possible but you can inspect the monitoring parameter for the interface like @mike1098 said.

In general you can keep in mind that CMK will alert every change from the current state to you if no rules are defined.

Thank you both for your replies!

The Network interfaces and switch ports rule helped me achieve what I wanted.

Specifically, under Value > operational state, I only chose ‘‘up’’. Further down I chose the hosts and interfaces of interest and that changed the down interfaces of interest to be shown as CRIT.

I’ll also have a look at the link you shared!