Skip to content

Beatlor/nagios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

nagios service checks based on host status

Check command:

define command {  
   command_name  setSvcStatusByHostStatus  
   command_line  /usr/lib/nagios/plugins/setservicebyhost -h $HOSTNAME$ -s $HOSTSTATEID$ -u $HOSTATTEMPT$ -a $MAXHOSTATTEMPTS$ -m o  
   register 1  
}  

for example in nagios.cfg

global_host_event_handler=setSvcStatusByHostStatus

About

All my nagios projects and scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published