I had custom perl script to get bgp (network) data status where i have put one simple rule** **“Classical active and passive Monitoring check” - used to work on check-mk 1.6
**
check_bgp.0.4.pl -H $_HOSTHOST_IP$ -v 3 -C xxxxx:xxxxxx:sha:xxxxxx:aes -p $_HOSTPEER_IP$
This same rule is not working on check-mk 2.4
i can see rule is present, but variable macro seems to be not working.
provide me solution on how to put variable or macro in check-mk 2.4
The macro $_HOSTHOST_IP$ is not a standard macro, at least in the Checkmk Micro Core based sites. For CMC sites (pro, ult, cloud) that macro is likely $HOSTADDRESS$
Where do you define the $_HOSTPEER_IP$ macro? I am a very visual person, so if you can provide a redacted screenshot, that would help me understand.
I admit that I don’t have a Raw site currently stood up to check the macros against.
If one of the answers helped you solve your question, please mark it as the solution. This way, you thank the person who helped you and also indicate that the question has been resolved. This, in turn, helps others who come across the same question.