I think I figured out what is going on. It seems like there may be an item limit although I'm not sure how big it is. I'm using RFC1213-MIB::ipRouteIfIndex and pulling over 900 entries and am getting the "is not valid JSON" errors. If I pull from a router with a much smaller routing table (~100) then this works just fine.
The reason I'm doing this is that I would like to alert when my routing table changes (BGP update, etc).
Does anyone reading this have any idea what the limit is? My externalscripts timeout is set to 30seconds and the script is not even coming close to taking that long to execute.
Thanks,
-j
The reason I'm doing this is that I would like to alert when my routing table changes (BGP update, etc).
Does anyone reading this have any idea what the limit is? My externalscripts timeout is set to 30seconds and the script is not even coming close to taking that long to execute.
Thanks,
-j
Comment