What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Is there a method to ensure something DOESN'T exist?

Votes:

0

We have a few servers where people who have admin rights did things like adding SMTP in the past. We do not want this. We can set up SNMP checks to see if a service is present, or a port check to ensure that something is up. But is there a way to do the opposite, and have it be "positive"?

absence invert limits lookups port service snmp wmi

Created on May 16, 2015 5:11:30 PM

Last change on Jan 17, 2023 12:30:34 PM by  Brandy Greger [Paessler Support]



1 Reply

Accepted Answer

Votes:

5

This article applies as of PRTG 22

Check if service is not installed or running

To check if a service is not installed or not running, you can use the ServiceStatus sensor from http://prtgtoolsfamily.com/downloads/sensors.

It will return the status of a service where

0=NotInstalled
1=Stopped
2=StartPending
3=StopPending
4=Running
5=ContinuePending
6=PausedPending
7=Paused

Using channel limits, you can set the sensor to the Down status if the service is installed or running.

Created on May 18, 2015 1:48:52 PM

Last change on Jan 17, 2023 12:32:09 PM by  Brandy Greger [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.