# Graph cisco snmp traffic (Data Source Influxdb)

**URL:** <https://community.grafana.com/t/graph-cisco-snmp-traffic-data-source-influxdb/8749>\
**Category:** Grafana\
**Created:** [July 12, 2018, 11:32am UTC](https://community.grafana.com/t/graph-cisco-snmp-traffic-data-source-influxdb/8749 "2018-07-12T11:32:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![verb](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/verb/32/4258_2.png) [@verb](https://community.grafana.com/u/verb)\
**Post date:** [July 12, 2018, 11:32am UTC](https://community.grafana.com/t/graph-cisco-snmp-traffic-data-source-influxdb/8749/1 "2018-07-12T11:32:54Z")

</div>

Hello everyone,  
I`m new to grafana and i wonder if following query is the best way to visualize my network traffic on cisco  
switch:

SELECT non\_negative\_derivative(“ifHCInOctets”)\* 8 as “ifHCInOctets” FROM “snmp” WHERE (“hostname” = ‘HE-core-sw’) AND $timeFilter GROUP BY “ifName” fill(null)

Please explain what is the purpose of second time argument for non\_negative\_derivative(“ifHCInOctets”,10s) i collect my values every 20s should i set this for second argument to this function?? Here is screen of my graph

 ![Screenshot%20at%202018-07-12%2014%3A20%3A44](https://us1.discourse-cdn.com/grafana/original/2X/d/d3a86d695d887bda78ffdaeda0574538635d6de9.png)
