Skip to content

Monitoring check plugin that queries the RIPE database and checks whether its results match the expectations

License

Notifications You must be signed in to change notification settings

inexio/check_ripe_db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

check_ripe_db

Monitoring check plugin that queries the RIPE database and checks whether its results match the expectations.

Usage

Possible options:

Option Description required?
-h Help no
-s/--source : The DB source to query no (default: ripe)
-o/--objecttype The DB objecttype to query yes
-k/--key The DB key to query yes
-e/--expected "<(attribute, match_mode, [value, value2]), ...>" The expected attributes yes

There are three different match modes for the expected values:

1. SINGLEVALUE: The expected value has to match the resulting value
2. EXACTLIST:   The expacted values must exactly match the resulting values list

A possible usage could look like this:

python check_ripe_db.py -s "ripe" -o "aut-num" -k "as27856" -e "(status, SINGLEVALUE, Assigned), (source, EXACTLIST, [Filtered, Assigned])"

Dependencies

The plugin only needs the requests library to run. The library can be installed by running:

python -m pip install requests

About

Monitoring check plugin that queries the RIPE database and checks whether its results match the expectations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages