Skip to content

marticardus/xmpp-nagios-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

=nagiosdbot.py=

Configure nagios

# 'host-notify-by-jabber' command
define command {
    command_name    host-notify-by-jabber
    command_line    /usr/local/sbin/nagiosdbot.py $CONTACTEMAIL$ "notify atype='host'-#-host='$HOSTALIAS$'-#-state='$HOSTSTATE$'-#-output='$HOSTOUTPUT$'"
}

# 'service-notify-by-jabber' command
define command {
    command_name    service-notify-by-jabber
    command_line    /usr/local/sbin/nagiosdbot.py $CONTACTEMAIL$ "notify atype='service'-#-notification='$NOTIFICATIONTYPE$'-#-host='$HOSTNAME$'-#-servdesc='$SERVICEDESC$'-#-state='$SERVICESTATE$'-#-output='$SERVICEOUTPUT$'-#-date='$LONGDATETIME$'"
}



=nagiosbot.py=
execute client and fun

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages