Just my two cents … I think a local check could do the trick however you would have to either:
- hardcode the IP address you are expecting in the actual check, which kinda sucks
- use some automated tool such as ansible to create / populate the IP address into the local check upon provisioning or some other key point
Hi list,
I wonder if it is possible to check if a server has the right IP address configured.
Does the inventory which detects the server services and also interfaces keeps a track about the IP values of the interfaces ?
Thks
I don’t know if this is what you are talking about, but I setup a
cron job
to pull the hostnames and IP addresses using livestatus, then verify
that
the DNS entry for the IP matches the hostname. If any do not match,
it sends me an email. That’s how I catch when the admins re-ip or
re-name
a host without telling us.
···
On 06/20/2017 10:55 AM, Marius Pana
wrote:
Just my two cents … I think a local check could do the trick
however you would have to either:
- hardcode the IP address you are expecting in the
actual check, which kinda sucks
- use some automated tool such as ansible to create
/ populate the IP address into the local check upon provisioning
or some other key point
On 19 Jun 2017, at 12:08, Arno Wijnhoven
<arnow@vsnsystemen.nl >
wrote:
Hi
Guillaume,
Unfortunately ‘inventory’ doesn’t do
that.
IP addresses aren’t stored (well,
except the one you enter upon host creation
ofcourse).
Easiest way I know of is to use a
custom SNMP script to get this information from
the devices.
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
[http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en](http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en)
_______________________________________________
checkmk-en mailing list
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
[http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en](http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en)
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
[http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en](http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en)