Skip to content

Commit e0bff4c

Browse files
committed
added usage description
1 parent 45ca4d2 commit e0bff4c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

+20
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,23 @@ So I decided to implement it's functionality in Python.
1111

1212
There is no warranty for a 100% compatibilty to the old plugin, but
1313
requests for adaptions and error reports are always welcome.
14+
15+
# How to use it
16+
17+
1. copy `check_pcmeasure.py' to your Nagios plugin folder
18+
1. define a nagios command:
19+
```
20+
define command{
21+
command_name check_messpc
22+
command_line $USER1$/check_pcmeasure.py -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -S $ARG3
23+
}
24+
```
25+
1. define a service
26+
```
27+
define service{
28+
use generic-service
29+
host_name messpc.example.com
30+
service_description temperature sensor
31+
check_command check_messpc!28!30!com1.1
32+
}
33+
```

0 commit comments

Comments
 (0)