mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-11-04 05:34:12 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			258 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			258 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
commandpipe_path="/var/run/icinga2/cmd/icinga2.cmd"
 | 
						|
 | 
						|
if [ -e $commandpipe_path ];
 | 
						|
then
 | 
						|
    echo "[OK] Icinga2 commandpipe found ($commandpipe_path)"
 | 
						|
    exit 0
 | 
						|
else
 | 
						|
    echo "[FAIL] Icinga2 commandpipe not found ($commandpipe_path)"
 | 
						|
    exit 1
 | 
						|
fi
 |