Repository Checkins
Update test suite to show struct comparison is broken. I noticed that while...
Commit by marineam :: r241 /branches/libcoil/coil-0.1/tests/functional/ (2 files in 2 dirs): Update test suite to show struct comparison is broken.
I noticed that while attempting to write a new test that it didn't catch
an error that I had made. I unified the pass/fail cases so the fail
tests can also do struct comparison as a basis for testing and sure
enough two different structs are failing to fail that test.
I wonder if there are any tests that are falsely passing due to this.
I noticed that while attempting to write a new test that it didn't catch
an error that I had made. I unified the pass/fail cases so the fail
tests can also do struct comparison as a basis for testing and sure
enough two different structs are failing to fail that test.
I wonder if there are any tests that are falsely passing due to this.
Categories: Code Commits
Remove auto-generated files from the repo, add .gitignore.
Commit by marineam :: r240 /branches/libcoil/coil-0.1/ (17 files in 6 dirs): Remove auto-generated files from the repo, add .gitignore.
Categories: Code Commits
Add new grep and grepv filters
Commit by marineam :: r430 /trunk/ (5 files in 4 dirs): Add new grep and grepv filters
Categories: Code Commits
Fix a dumb find/replace bug I introduced a while back
Commit by marineam :: r381 /trunk/python/nagcat/trend.py: Fix a dumb find/replace bug I introduced a while back
Categories: Code Commits
Improve rrd_lastupdate, add unit tests for it.
Commit by marineam :: r380 /trunk/ (4 files in 3 dirs): Improve rrd_lastupdate, add unit tests for it.
Categories: Code Commits
Simplify starting queries in unit tests
Commit by marineam :: r379 /trunk/python/nagcat/unittests/queries/ (8 files): Simplify starting queries in unit tests
Categories: Code Commits
Reorganize the query unit tests
Commit by marineam :: r378 /trunk/python/nagcat/unittests/ (15 files in 2 dirs): Reorganize the query unit tests
Categories: Code Commits
Create FilteredQueries via the QueryManager. This allows identical sets of...
Commit by marineam :: r377 /trunk/python/nagcat/test.py: Create FilteredQueries via the QueryManager.
This allows identical sets of filters to be combined. Probably doesn't
do a whole lot, in my mini test I only went from 220 filters to 215.
This allows identical sets of filters to be combined. Probably doesn't
do a whole lot, in my mini test I only went from 220 filters to 215.
Categories: Code Commits
Move the saved attribute into Query and other cleanups. This lets me remove the...
Commit by marineam :: r376 /trunk/python/nagcat/ (plugins/query_http.py query.py): Move the saved attribute into Query and other cleanups.
This lets me remove the request url/id special case.
This lets me remove the request url/id special case.
Categories: Code Commits
Rename some of the internal Runnable methods This allows subclasses to hook into...
Commit by marineam :: r375 /trunk/python/nagcat/runnable.py: Rename some of the internal Runnable methods
This allows subclasses to hook into starting and stopping in new ways.
This allows subclasses to hook into starting and stopping in new ways.
Categories: Code Commits
Add an HTML filter for cleaning old style pages
Commit by marineam :: r374 /trunk/ (3 files in 3 dirs): Add an HTML filter for cleaning old style pages
Categories: Code Commits
Fix compaitibility with RRDTool 1.3.x
Commit by marineam :: r373 /trunk/python/twirrdy/__init__.py: Fix compaitibility with RRDTool 1.3.x
Categories: Code Commits
Use find_library to fix loading libraries on many systems Although my...
Commit by marineam :: r372 /trunk/python/ (2 files in 2 dirs): Use find_library to fix loading libraries on many systems
Although my deployments require RPATH and provide libraries as
libsomething.so most others don't require RPATH and provide libraries
with names like libsomething.so.42. So as a compromise if the first
CDLL call fails I fall back to using find_library.
Although my deployments require RPATH and provide libraries as
libsomething.so most others don't require RPATH and provide libraries
with names like libsomething.so.42. So as a compromise if the first
CDLL call fails I fall back to using find_library.
Categories: Code Commits
Update the config format documentation A few attributes were missing and add the...
Commit by marineam :: r371 /trunk/docs/configuration.txt: Update the config format documentation
A few attributes were missing and add the new rrd_lastupdate query
A few attributes were missing and add the new rrd_lastupdate query
Categories: Code Commits
Remove the strict attribute, it isn't needed
Commit by marineam :: r370 /trunk/python/nagcat/plugins/query_trend.py: Remove the strict attribute, it isn't needed
Categories: Code Commits
Pass the test's description attribute along to queries
Commit by marineam :: r369 /trunk/python/nagcat/test.py: Pass the test's description attribute along to queries
Categories: Code Commits
Rename the name test attribute to description. Nagios' attribute name is...
Commit by marineam :: r368 /trunk/python/nagcat/ (4 files in 2 dirs): Rename the name test attribute to description.
Nagios' attribute name is "service_description" so it makes more sense
to use description than name to keep things in sync.
Nagios' attribute name is "service_description" so it makes more sense
to use description than name to keep things in sync.
Categories: Code Commits
Initial stab at a query type for getting data from rrdtool.
Commit by marineam :: r367 /trunk/python/nagcat/ (trend.py plugins/query_trend.py): Initial stab at a query type for getting data from rrdtool.
Categories: Code Commits
Add nagcat parameter to all Query objects. This allows queries access to the...
Commit by marineam :: r366 /trunk/python/nagcat/ (10 files in 3 dirs): Add nagcat parameter to all Query objects.
This allows queries access to the global state again, fixing the snmp
query plugin which needs to create child queries.
Other than the snmp fix this doesn't change anything other than adding
the new parameter and updating all of the impacted pieces.
This allows queries access to the global state again, fixing the snmp
query plugin which needs to create child queries.
Other than the snmp fix this doesn't change anything other than adding
the new parameter and updating all of the impacted pieces.
Categories: Code Commits
Create new QueryManager class, wrap task creation in the scheduler. This commit...
Commit by marineam :: r365 /trunk/python/nagcat/ (6 files in 2 dirs): Create new QueryManager class, wrap task creation in the scheduler.
This commit is a work in progress, most of the unit tests pass but not
very useful right now since snmp is broken. The fix will come in the
next commit, the two are split to minimize the code churn.
This commit is a work in progress, most of the unit tests pass but not
very useful right now since snmp is broken. The fix will come in the
next commit, the two are split to minimize the code churn.
Categories: Code Commits