Quantcast
Channel: THWACK: All Content - Network Performance Monitor
Viewing all articles
Browse latest Browse all 21870

Help with SQL Report Writer- Group By

$
0
0

Hello everyone.

 

Here is a quick overview of what I'm trying to do.

 

We have a piece of network gear that is sending traps to our NPM. We are interested in one specific message it sends and more importantly how often/when. I'd like to create a report/graph that breaks down the days into blocks that will tell us how many of these specific traps we have received during this specific time period. This would help us troubleshoot an issue. Currently I've been working with Report Writer and have the sql statement that shows only the specific traps we are concerned about.....however it doesn't group it.

 

For Example:

1:00PM    10

1:30PM    157

2:00PM    12

2:30PM    11

or something similar.....

 

Can someone help me here with the remainder of the statement? The grouping syntax I've tried hasn't worked thus far. Is there a better way I can organize this data (graph maybe?)

 

SELECT [DateTime] ,[IPAddress] ,[TrapType] FROM [Traps] where [TrapType] like '%NSG9000%';


Viewing all articles
Browse latest Browse all 21870

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>