Xymon Mailing List Archive search

MACHIP

2 messages in this thread

list Benedicta J · Thu, 2 Jul 2015 12:59:33 +0530 ·
Hi,

I have configured Xymon monitoring tool. I have set a alert script using
predefined variables.
The email alerts are displaying ip addresses without dot. MACHIP is the
varaibale i used in my script.

IP addresses is displayed like below


010200108175


Thanks,
Benedicta J
list Jeremy Laidman · Fri, 3 Jul 2015 06:38:06 +1000 ·
Yes, this is how it works, probably due to the history of this being used
for sending messages to pagers. The man page probably could be clearer on
the format produced.

There doesn't appear to be an equivalent env var to show the IP in its
normal (for humans) form.

The code also doesn't seem to know about IPv6. But that's another story.

J
quoted from Benedicta J
 On 02/07/2015 5:29 PM, "Benedicta J" <user-7d6b1aaa8857@xymon.invalid> wrote:
Hi,

I have configured Xymon monitoring tool. I have set a alert script using
predefined variables.
The email alerts are displaying ip addresses without dot. MACHIP is the
varaibale i used in my script.

IP addresses is displayed like below


010200108175


Thanks,
Benedicta J