Search found 2 matches
- Sat Apr 01, 2017 4:59 am
- Forum: Open Source Nagios Projects
- Topic: Problem using $HOSTNAME$ in a custom object macro
- Replies: 3
- Views: 1856
Re: Problem using $HOSTNAME$ in a custom object macro
hi mcapra Thanks for your comments. I also find that the hostname will be correctly substituted when it's put into the check_command, but not when it is within a custom object variable and then the resulting object macro. Below are some more detailed reproduction steps. regards -jeff The following t...
- Fri Mar 31, 2017 8:47 am
- Forum: Open Source Nagios Projects
- Topic: Problem using $HOSTNAME$ in a custom object macro
- Replies: 3
- Views: 1856
Problem using $HOSTNAME$ in a custom object macro
hello, New to Nagios, sorry if this is a known issue, my searching so far didn't yield an answer on it. I have a requirement to make an older version of Nagios (3.5.1) talk to Prometheus via check_prometheus_metric.sh (found on github). Eventually I had the need to pass an instance (host) into the P...