Do you mean the command definition on the nagios host?
$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
arg1: check_filecount
Search found 2 matches
- Thu Jan 29, 2015 10:12 am
- Forum: Nagios XI
- Topic: nrpe bash script & functions
- Replies: 3
- Views: 2015
- Tue Jan 27, 2015 2:02 am
- Forum: Nagios XI
- Topic: nrpe bash script & functions
- Replies: 3
- Views: 2015
nrpe bash script & functions
hi @all, I wrote a bash script to make some checks. I execute this script via the nrpe- agent. When I execute this script direct on the host, everything is fine. But when I use the nrpe agent, the function which I defined in my script are executet directly without calling this function. Example: #!/...