Skip to main content
Solved

Monitor if a windows service is disabled or not

  • April 7, 2023
  • 1 reply
  • 296 views

Forum|alt.badge.img+10

Hi guys,

 

I would know if it is possible o monitor if a windows service is disabled or not.

 

/usr/lib64/nagios/plugins/check_centreon_nrpe -H 10.214.0.16 -p 5666 -t 30 -u -m 8192 -c  check_service

 

I don’t find if it’s possible with this command. I just find if a service is up or not (with delay or not).

 

could you help me? Or give me a link to documentation?

 

Laurent

Best answer by bannavong

Hi you can use:
/usr/lib/centreon/plugins//centreon_nsclient_restapi.pl --plugin=apps::nsclient::restapi::plugin --mode=query --hostname='***' --port='8443' --proto='https' --legacy-password='***' --http-backend=curl --curl-opt="CURLOPT_SSL_VERIFYPEER => 0"  --command=check_service --arg="filter=start_type='disabled'" --arg="service=*"

 

1 reply

Forum|alt.badge.img+3
  • Steward *
  • 25 replies
  • Answer
  • April 11, 2023

Hi you can use:
/usr/lib/centreon/plugins//centreon_nsclient_restapi.pl --plugin=apps::nsclient::restapi::plugin --mode=query --hostname='***' --port='8443' --proto='https' --legacy-password='***' --http-backend=curl --curl-opt="CURLOPT_SSL_VERIFYPEER => 0"  --command=check_service --arg="filter=start_type='disabled'" --arg="service=*"