Bear with me, I am trying to 'force' something that Orion currently doesn't do (or that I can find in my version).
I need to find out the best method to update a value in the custom poller table so that the new value is accepted and gets rolled to the other poller stats so it can be charted.
I am monitoring our current VPN tunnels on an ASA5540. I have to break this down to a subset for only certain tunnels. I have created a set of jobs external to Orion that grabs this data and puts a count into a flat file. I then scheduled a SQL job to run every 2 minutes and grab this value. I have 2 custom pollers, they monitor the same OID but I had to have some form of custom poller to eventually get a chart value from.
The second poller is grabbing the current VPN tunnel count but I want to update the value with the value from the flat file (this is working). I thought that if I ran a SQL job and update the Rate for the new custom poller in custompollerstatus that it would then eventually roll up to the hourly, etc tables. It is updating the custompollerstatus poller but when i look at the custompollerstatistics_detail it shows the original value.
When I run this query I get the value of 2 (which is correct)
select * from dbo.custompollerstatus where CustomPollerAssignmentID = '1AE9EF38-1B83-4A33-A35B-E7FD289402DA'
1AE9EF38-1B83-4A33-A35B-E7FD289402DA 2008-10-29 14:13:43.267 2 NULL NULL NULL
When I run this query I get the values of 10 or 9 (which is correct for the whole VPN, not what was put into the Rate field)
select * from dbo.custompollerstatistics_detail where CustomPollerAssignmentID = '1AE9EF38-1B83-4A33-A35B-E7FD289402DA'
1AE9EF38-1B83-4A33-A35B-E7FD289402DA 0 2008-10-29 13:48:16.420 10 10 10 NULL NULL NULL
1AE9EF38-1B83-4A33-A35B-E7FD289402DA 0 2008-10-29 13:53:22.507 10 10 10 NULL NULL NULL
1AE9EF38-1B83-4A33-A35B-E7FD289402DA 0 2008-10-29 13:58:28.603 9 9 9 NULL NULL NULL
1AE9EF38-1B83-4A33-A35B-E7FD289402DA 0 2008-10-29 14:03:30.827 9 9 9 NULL NULL NULL
1AE9EF38-1B83-4A33-A35B-E7FD289402DA 0 2008-10-29 14:08:36.807 9 9 9 NULL NULL NULL
1AE9EF38-1B83-4A33-A35B-E7FD289402DA 0 2008-10-29 14:13:43.267 9 9 9 NULL NULL NULL
Am I updating the wrong table?