Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 639 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 639 Bytes

check_geoip

This nagios plugin checks the free GeoIP database.

It tries to open the database (GeoIP.dat), does a ip-to-country query and checks the database age.

 -w, --warning=INTEGER
    Exit with WARNING status if database is older then INTEGER days (default: 60)
 -c, --critical=INTEGER
    Exit with CRITICAL status if database is older then INTEGER days (default :300)
 -d, --dbpath=PATH
    Overrides the GeoIP database path (default: /usr/share/GeoIP/GeoIP.dat)
 -i, --IP-address=ADDRESS
    Overrides the default tested IP address (default: 8.8.8.8)
 -C, --country=CC
    Overrides the expected country (default: US)