Hi all,
I am facing a necessity with Zabbix.
I always have monitored Windows services to discover if some services were stopped.
Today I discovered an important service on a Linux CentOS server that was stopped.
I am trying to add a discovery for services but I dont know how.
My windows configuration is:
Discovery list:
Name: windows service discovery
Key service.discovery
Item prototypes:
Name: State of service "{#SERVICE.NAME}" ({#SERVICE.DISPLAYNAME})
key: service.info[{#SERVICE.NAME},state]
Trigger prototypes:
Name: Service "{#SERVICE.NAME}" ({#SERVICE.DISPLAYNAME}) is not running (startup type {#SERVICE.STARTUPNAME})
Expression: {HOST:service.info[{#SERVICE.NAME},state].min(#3)}<>0
And this works very well.
How can I do the same thing for Linux CentOS servers?
Thank you in advance!
I am facing a necessity with Zabbix.
I always have monitored Windows services to discover if some services were stopped.
Today I discovered an important service on a Linux CentOS server that was stopped.
I am trying to add a discovery for services but I dont know how.
My windows configuration is:
Discovery list:
Name: windows service discovery
Key service.discovery
Item prototypes:
Name: State of service "{#SERVICE.NAME}" ({#SERVICE.DISPLAYNAME})
key: service.info[{#SERVICE.NAME},state]
Trigger prototypes:
Name: Service "{#SERVICE.NAME}" ({#SERVICE.DISPLAYNAME}) is not running (startup type {#SERVICE.STARTUPNAME})
Expression: {HOST:service.info[{#SERVICE.NAME},state].min(#3)}<>0
And this works very well.
How can I do the same thing for Linux CentOS servers?
Thank you in advance!
Comment