mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
Added check_random plugin.
This commit is contained in:
parent
80bec5fcd4
commit
6c153d8e8e
1 changed files with 10 additions and 0 deletions
10
check_random/check_random.c
Normal file
10
check_random/check_random.c
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
printf("check_random | test=1\n");
|
||||
|
||||
srand(getpid());
|
||||
|
||||
return rand() % 4;
|
||||
}
|
||||
Loading…
Reference in a new issue