Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[XML] Cisco NBAR Protocol Statistics Query 1.2a [UPDATED]
Goto page 1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
roddie
Cacti User


Joined: 10 Feb 2004
Posts: 98
Location: Frisco, TX

PostPosted: Mon Jun 13, 2005 11:48 am    Post subject: [XML] Cisco NBAR Protocol Statistics Query 1.2a [UPDATED] Reply with quote

All,

Larry was gracious enough to work with me yesterday to fix-up the script server version of the original eatworms NBAR script (with kingaru's bug-fix).

I've attached the modified script along with the templates that I updated to work with the new script. The readme.txt file has also been updated to reflect the changes and new instructions.

Please post any questions here.

Thanks again to Larry for all of the help and to kingaru (Igor) for his fixes!

Regards,
Roddie

Edit: The original version that I posted didn't work properly with the script server. I learned enough PHP to fix it, I think, but I'd appreciate some feedback.



ss_nbar_all-1.2a.zip
 Description:
Oops - Updated this to actually work with the script server.

Please let me know if there are any problems with this release.

Download
 Filename:  ss_nbar_all-1.2a.zip
 Filesize:  12.22 KB
 Downloaded:  4347 Time(s)



Last edited by roddie on Tue Jun 14, 2005 2:16 pm; edited 1 time in total
Back to top
chloe



Joined: 13 Jun 2005
Posts: 17

PostPosted: Tue Jun 14, 2005 7:05 am    Post subject: Reply with quote

I have always a problem !!
on my environment PC if I make the following command-line under dos:
snmpwalk -v1 -c caat 125.65.100.2 1.3.6.1.4.1.9.9.244.1.2.1.1.2

I have a reponse
Back to top
chloe



Joined: 13 Jun 2005
Posts: 17

PostPosted: Tue Jun 14, 2005 7:09 am    Post subject: Reply with quote

in the command-line snmpwalk If I no specifie not no the version snmp used.

snmpwalk -c xxx @IP 1.3.6.1.4.1.9.9.244.1.2.1.1.2
snmpwalk: No securityName specified

I have an error message
Back to top
roddie
Cacti User


Joined: 10 Feb 2004
Posts: 98
Location: Frisco, TX

PostPosted: Tue Jun 14, 2005 9:46 am    Post subject: Reply with quote

snmpwalk defaults to whatever version it was compiled with, I believe.

Is there a reason you can't force it to 1 for your query?
Back to top
chloe



Joined: 13 Jun 2005
Posts: 17

PostPosted: Tue Jun 14, 2005 9:50 am    Post subject: Reply with quote

How to force the requet snmp and or force it
Back to top
chloe



Joined: 13 Jun 2005
Posts: 17

PostPosted: Tue Jun 14, 2005 9:53 am    Post subject: Reply with quote

Nevertheless i Choose the SNMP version equal 1 for my router nbar in the SNMP Options of devices
Back to top
chloe



Joined: 13 Jun 2005
Posts: 17

PostPosted: Tue Jun 14, 2005 9:56 am    Post subject: Reply with quote

my version of the plateform is :

| Cacti 0.8.6d | Cactid 0.8.6d | mysql-5.2.1 | Net-SNMP 5.2.1 | phpMyAdmin-2.6.2 | apache_2.0.53 | php-5.0.4| RRDtool 1.0.49 | Windows 2000 |
Back to top
chloe



Joined: 13 Jun 2005
Posts: 17

PostPosted: Tue Jun 14, 2005 9:58 am    Post subject: Reply with quote

The script SS puts a lot of time to discovery protocols and interfaces tag
Back to top
chloe



Joined: 13 Jun 2005
Posts: 17

PostPosted: Wed Jun 15, 2005 3:32 pm    Post subject: Reply with quote

Hy roddie
please help me for resolve my problem.
teh script don't work.
i graph any protocol in this graph
please SOS
Back to top
roddie
Cacti User


Joined: 10 Feb 2004
Posts: 98
Location: Frisco, TX

PostPosted: Wed Jun 15, 2005 3:34 pm    Post subject: Reply with quote

Chloe,

I can't help you unless you give me some information.

What's not working? Do queries work? How are you trying to use it?

Etc.
Back to top
chloe



Joined: 13 Jun 2005
Posts: 17

PostPosted: Thu Jun 16, 2005 2:20 am    Post subject: Reply with quote

roddie
i have installed a script but in version 1.2.
i don't monitore this ressources

I hope that it is going to go to you to understand my problem



nbar2.jpg
 Description:
 Filesize:  21.73 KB
 Viewed:  41501 Time(s)

nbar2.jpg



nbar.jpg
 Description:
nbar
 Filesize:  122.81 KB
 Viewed:  41501 Time(s)

nbar.jpg


Back to top
chloe



Joined: 13 Jun 2005
Posts: 17

PostPosted: Thu Jun 16, 2005 9:39 am    Post subject: Reply with quote

roddie
what do you need exactly to be able to help me
It is sufficient the images above
Back to top
kingaru
Cacti User


Joined: 09 Mar 2005
Posts: 54

PostPosted: Sun Jun 19, 2005 9:14 am    Post subject: Reply with quote

1. Not evry IOS supports SNMP NBAR MIBS. This means if you have enabled ip nbar in the configuration it does not mean that it will enable your SNMP based NBAR monitoring. For instance Cisco 3620 does not have this options at all the old 26xx do have but in IP PLUS/ENTERPRISE BASIC featuire set base IOSes and dont have in the IP SEC/3DES/FW based images. Refer to the Cisco web site in otder to make sure that your IOS does support NBAR over SNMP.
2. Just a general advice .. when you post screeens it is advisable to remove community strings and IP addresses of your routers. I hope that nobody still broke in to your router

I hope it explains
Igor


chloe wrote:
roddie
i have installed a script but in version 1.2.
i don't monitore this ressources

I hope that it is going to go to you to understand my problem
Back to top
chloe



Joined: 13 Jun 2005
Posts: 17

PostPosted: Mon Jun 20, 2005 4:34 am    Post subject: Reply with quote

Nevertheless since my console dos of the pc, the router re-lays me in a snmpwalk of the feature to nbar.
my version of IOS is 12.3(14)T2 ip base on the router C3745
Back to top
chloe



Joined: 13 Jun 2005
Posts: 17

PostPosted: Mon Jun 20, 2005 7:52 am    Post subject: Reply with quote

kingaru i have one question for you :

my IOS it is compatible with fonctionnality NBAR over snmp

my IOS is c3745-ipbase-mz[1].123-14.T2.bin

What do you think about it ?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 



Powered by phpBB © 2001, 2005 phpBB Group