mirror of
				https://github.com/librenms/librenms-agent.git
				synced 2024-05-09 09:54:52 +00:00 
			
		
		
		
	Without the full munin-scripts path, this script won't find munin file and return nothing.
		
			
				
	
	
		
			16 lines
		
	
	
		
			253 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			253 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
# Lokale Einzelchecks
 | 
						|
export MUNIN_LIBDIR=/usr/share/munin
 | 
						|
if cd $MUNIN_LIBDIR/munin-scripts
 | 
						|
then
 | 
						|
  for skript in $(ls)
 | 
						|
  do
 | 
						|
    if [ -x "$skript" ] ; then
 | 
						|
        echo "<<<munin-$skript>>>"
 | 
						|
        ./$skript
 | 
						|
	./$skript config
 | 
						|
    fi
 | 
						|
  done
 | 
						|
  cd ..
 | 
						|
fi
 | 
						|
 |