[XML] Cisco NBAR Protocol Statistics Query 1.2a [UPDATED]

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
jamirojuan
Posts: 3
Joined: Sun Aug 03, 2014 10:32 pm

Re: [XML] Cisco NBAR Protocol Statistics Query 1.2a [UPDATED

Post by jamirojuan »

Hello Guys

I have a working cacti which to which I have added the nbar script
as you can see the snmp is gettting the information but it is not displaying it

can you please give me some ideas as to what to do to fix it/ troubleshoot it?

thanks

Juan
Attachments
snmp is getting information
snmp is getting information
Capture1.JPG (19.35 KiB) Viewed 2961 times
graph is not working
graph is not working
Capture.JPG (28.38 KiB) Viewed 2961 times
User avatar
um3n
Posts: 39
Joined: Thu Jul 03, 2014 1:35 am

Re: [XML] Cisco NBAR Protocol Statistics Query 1.2a [UPDATED

Post by um3n »

Hey,

it could be the permissions of the rrd/rra directory on your machine. Maybe cacti cant write in this directory.

What does the logs say?

Bye
Three tomatoes are walking down the street pappa tomato, mamma tomato, and a little baby tomato.Baby tomato starts lagging behind. Poppa tomato gets angry, goes over to the baby tomato, and smooshes him... and says, "Catch up"
jamirojuan
Posts: 3
Joined: Sun Aug 03, 2014 10:32 pm

Re: [XML] Cisco NBAR Protocol Statistics Query 1.2a [UPDATED

Post by jamirojuan »

I checked the permissions of all files in rra folder and they are all the same.
cacti.log doesn't seem to have much info

08/04/2014 04:21:02 PM - SYSTEM STATS: Time:1.1702 Method:spine Processes:1 Threads:1 Hosts:21 HostsPerProcess:21 DataSources:908 RRDsProcessed:491
08/04/2014 04:21:02 PM - SYSTEM THOLD STATS: Time:0.0885 Tholds:16 TotalHosts:20 DownHosts:0 NewDownHosts:0
08/04/2014 04:21:03 PM - SYSTEM SYSLOG STATS:Time:0.22 Deletes:0 Incoming:0 Removes:38 XFers:0 Alerts:1 Alarms:0 Reports:0
cigamit
Developer
Posts: 3363
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: [XML] Cisco NBAR Protocol Statistics Query 1.2a [UPDATED

Post by cigamit »

jamirojuan wrote:Hello Guys

I have a working cacti which to which I have added the nbar script
as you can see the snmp is gettting the information but it is not displaying it

can you please give me some ideas as to what to do to fix it/ troubleshoot it?

thanks

Juan
You showed that SNMP is getting information for the "SNMP - Interfaces Statistics", but you didn't whether it is getting it for the actual data query in question. You should show that instead, and then you should check the cacti log (on Medium) and actually see what results it is pulling when polling. If its not getting any data, it isn't going to create the RRD File.
jamirojuan
Posts: 3
Joined: Sun Aug 03, 2014 10:32 pm

Re: [XML] Cisco NBAR Protocol Statistics Query 1.2a [UPDATED

Post by jamirojuan »

fair point.

now I see tat the nbar stats are not been populated
Attachments
Capture.JPG
Capture.JPG (25.21 KiB) Viewed 2948 times
luiporta
Posts: 1
Joined: Wed Feb 04, 2015 10:01 am

Re: [XML] Cisco NBAR Protocol Statistics Query 1.2a [UPDATED

Post by luiporta »

I've updated the script, is working for me now.
Untitled.jpg
Untitled.jpg (52.33 KiB) Viewed 2492 times
Attachments
ss_nbar_all.zip
(2.24 KiB) Downloaded 287 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests