aboutsummarylogtreecommitdiffstats
path: root/nagios-nrpe-plugin.install
blob: 577e4639c0c739f1b2fda291516e2c9d442c03a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
    echo "check_nrpe is now installed in /usr/share/nagios/libexec."
    echo "If you are using monitoring-plugins, it is recommended"
    echo "that /usr/share/nagios/libexec *not* be symlinked to"
    echo "/usr/lib/monitoring-plugins. Instead, in /etc/nagios/resource.cfg"
    echo "set $USER1$=/usr/lib/monitoring-plugins and in"
    echo "/etc/nagios/objects/commands.cfg change the relevant lines to"
    echo "to 'command_line  /usr/share/nagios/libexec/check_nrpe ...'."
}

post_upgrade() {
    post_install $1
}