Added command_mdstat.conf
This commit is contained in:
		
							parent
							
								
									4043bda0ef
								
							
						
					
					
						commit
						5562662f13
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								command_mdstat.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								command_mdstat.conf
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,13 @@ | |||
| object CheckCommand "mdstat" { | ||||
| 	import "plugin-check-command" | ||||
| 
 | ||||
| 	command = [ "/home/nagios/check_mdstat.sh/check_mdstat.sh" ] | ||||
| 
 | ||||
| 	arguments = { | ||||
| 		"--raid" = { | ||||
| 			value = "$mdstat_name$" | ||||
| 			description = "RAID name" | ||||
| 			required = true | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
		Loading…
	
		Reference in a new issue