Ad Widget

Collapse

Trigger creation for a manually started windows service

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TAinsworth
    Junior Member
    • Jul 2019
    • 2

    #1

    Trigger creation for a manually started windows service

    We have a partner that sometimes has to remote in to an on prem server to support their software. They use a remote access program that sets up as a service. I have set the service to be manually started and disable it when they are finished with their support. Is it possible to create a trigger to warn me when the service is started so I don't forget to disable it?
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Certainly possible! Create a host with the item with key = service.info[service_name] and the corresponding trigger last()=0
    For information
    0 ⇒ Running
    1 ⇒ Paused
    2 ⇒ Start pending
    3 ⇒ Pause pending
    4 ⇒ Continue pending
    5 ⇒ Stop pending
    6 ⇒ Stopped
    7 ⇒ Unknown
    255 ⇒ No such service

    And RTFM !

    Comment

    • TAinsworth
      Junior Member
      • Jul 2019
      • 2

      #3
      Ok, Got it using {HOST:service.info[Service name,state].last()}=0 Thanks!

      Comment

      Working...