Ad Widget

Collapse

service_state[DNS] - 255 No such Service

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • h4xx
    Junior Member
    • Oct 2014
    • 6

    #1

    service_state[DNS] - 255 No such Service

    Hi Everyone.

    Iam trying to monitor the DNS Server of a Windows Server 2008 R2 Domain Controller.

    The DNS Server Service (image attached) is Named "DNS"
    So in zabbix i should be able to monitor this service with the service_state[DNS] key.

    Unfortunately this is not working. Same for DHCPServer.

    Every time i get "No such service (255)" as last value.
    The DNS/DHCP Services are definetley running.
    Doing an sc query DNS responds that the Service is running.

    Monitoring other services like the Zabbix Agent via service_state[Zabbix Agent] are working fine.

    Maybe someone have an idea why theese two Services behave like that?

    Thank you.
    Attached Files
    Last edited by h4xx; 15-10-2014, 09:19. Reason: Additional information
  • h4xx
    Junior Member
    • Oct 2014
    • 6

    #2
    After using the right IP Address for my Host the DNS Service state turned to 0.

    So if was all my fault choosing the wrong host for monitoring....

    For further information.
    I also tried to monitor the service state with this user parameter.

    UserParameter=state.dns,net start|find "DNS"|echo %errorlevel%

    Case closed.

    Comment

    Working...