SonicWall templates ?

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

Moderators: Developers, Moderators

Post Reply
User avatar
icetoad
Cacti User
Posts: 65
Joined: Wed Oct 18, 2006 6:20 pm
Location: Orlando
Contact:

Post by icetoad »

i am not sure what you are reffering to.. did you add the host or graphs to the graph tree via the graph trees area under management?
Quote from Bash.org: "I was once thrown out of barnes and noble for moving the bibles to the fiction section."
User avatar
icetoad
Cacti User
Posts: 65
Joined: Wed Oct 18, 2006 6:20 pm
Location: Orlando
Contact:

Post by icetoad »

Also make sure the cacti owns the vpn script an all the directories under cacti.

I created a script which i run anytime i make changes which sets the permissions.
Quote from Bash.org: "I was once thrown out of barnes and noble for moving the bibles to the fiction section."
bigcitymike
Posts: 14
Joined: Mon Oct 30, 2006 12:55 pm

Post by bigcitymike »

icetoad wrote:i am not sure what you are reffering to.. did you add the host or graphs to the graph tree via the graph trees area under management?

If I go to Graphs ---> Tree Mode

i see two hosts, Localhost and sonicwall host. If i click on localhost it displays the associated graphs just fine.

If i click on the sonicwall host, nothing is there. i believe since the vpn script is not working quite right it's preventing it to be drawn here. I am absolutly sure i've created the graphs in the device section. They are all greyed out and cant be added.

Not to confuse things, but if i click on the preview tab (upper right: Graphs -> Preview Mode) I can choose hosts. Localhost or sonicwall. Here it DOES draw the graph, all i've selected to graph execpt the VPN
User avatar
icetoad
Cacti User
Posts: 65
Joined: Wed Oct 18, 2006 6:20 pm
Location: Orlando
Contact:

Post by icetoad »

Sounds like something is wrong with the template tree. I would remove and then readd the sonicwall to it as a host. if you have it added as a graph, it may have a link to an old graph that should be deleted under graph management.
Quote from Bash.org: "I was once thrown out of barnes and noble for moving the bibles to the fiction section."
bigcitymike
Posts: 14
Joined: Mon Oct 30, 2006 12:55 pm

Post by bigcitymike »

icetoad wrote:Sounds like something is wrong with the template tree. I would remove and then readd the sonicwall to it as a host. if you have it added as a graph, it may have a link to an old graph that should be deleted under graph management.
If i view it in graph mode it's ok. At this point for this host I'm about to give up. I can at least see the graphs (in graph mode), I wanted it to work in all modes. But I'm still a bit too green and banging my head isn't helping. Thanks for the effort in working on this with me. I want to move on and get data on the interfaces X0 - X5. So i can watch bandwith useage. That is really what got me looking in to Cact.

Any points on setting up graphs for that? lol
User avatar
icetoad
Cacti User
Posts: 65
Joined: Wed Oct 18, 2006 6:20 pm
Location: Orlando
Contact:

Post by icetoad »

unfortunately no.. other than find a good tool to track down the OIDs you need for each interface. I have been playing with printer pages and i cant move on to anything else till i get that right.

I would love to graph those stats though.. let me know if you get a working graph. :P
Quote from Bash.org: "I was once thrown out of barnes and noble for moving the bibles to the fiction section."
User avatar
SysWiz
Posts: 2
Joined: Mon Nov 13, 2006 2:43 pm

Post by SysWiz »

Thank you all. I finally got it working for the most part. I have one question, though. When using the graph type "Sonicwall VPN Traffic (bits/sec, Total Bandwidth)" it looks like some of the info is truncated in the graph - specifically the "Total In:" value is missing. Here's a screen shot. It also looks like the spacing is a little messed up. Can anyone help? Thanks! -Scott
Attachments
See, it's missing the value for Total In:
See, it's missing the value for Total In:
cactigraph.jpg (33.77 KiB) Viewed 12137 times
User avatar
icetoad
Cacti User
Posts: 65
Joined: Wed Oct 18, 2006 6:20 pm
Location: Orlando
Contact:

Post by icetoad »

you could edit the graph template and add a hard return after maximum or you could increase the width of the graph. Both of these options are in the graph templates section under the sonicwall vpn template.
Quote from Bash.org: "I was once thrown out of barnes and noble for moving the bibles to the fiction section."
User avatar
SysWiz
Posts: 2
Joined: Mon Nov 13, 2006 2:43 pm

Post by SysWiz »

That was it. I added a hard return and widened the graphs to 600. Thank you!!!
marco114
Posts: 3
Joined: Wed Nov 22, 2006 1:10 pm

Graphing Ports

Post by marco114 »

Is it possible to graph traffic on various ports of the SonicWall?

I do co-location for customers and I like to graph their traffic. i could do it my monitoring their server directly, but i'd rather not be intrusive into their server.
User avatar
icetoad
Cacti User
Posts: 65
Joined: Wed Oct 18, 2006 6:20 pm
Location: Orlando
Contact:

Post by icetoad »

I use this: http://oss.oetiker.ch/mrtg/

because i cant find the OIDs i need.
Quote from Bash.org: "I was once thrown out of barnes and noble for moving the bibles to the fiction section."
bdearlove
Posts: 19
Joined: Thu Jun 09, 2005 8:51 am

Post by bdearlove »

Sorry if I sound like a N00b. Have a question. I have everything working great, but the 1 part I didn't know what to answer:

3. When creating graphs you will be prompted to enter a maximum value for decrypt/encrypt bytes. You MUST enter a value equal to the fast connection of any of the tunnels being monitored from this device. Otherwise you will see huge spikes every 8 hours.

What is fast connection? I have been noticing the spikes but do not know what to enter there,

Also, BigCityMike, it looks like you have the same issue as I did. Make sure you have Perl Installed, and Net-SNMP for Perl. The Windows Installer does not include it and I was running into the same issue until installed this.
wazoqaz
Posts: 15
Joined: Wed May 24, 2006 9:40 am
Location: md, us
Contact:

Post by wazoqaz »

bdearlove,

What is need is the maximum link speed in bytes/second. I would also recommend that you put some fudge factor in there particularly if you think you might be increasing the link speed at anytime. (For example we replaced a 786K DSL with a 3M connection).

The following formula should work, but I have not tried it (I just guessed).

Code: Select all

(Link speed in bits/second / 8) * (1 + "fudge factor")
For example for a T1 connection (1.5 Mb/s = 1572864 b/s) which we think will double some point the future with a 5% additional

Code: Select all

(1572864 / 8 ) * (1 + 1.05) = 403046
I hope this helps.
bdearlove
Posts: 19
Joined: Thu Jun 09, 2005 8:51 am

Post by bdearlove »

Yeppers! That helped!

I still have a bit of wierdness where every hour my traffic peaks like crazy even with nothing going across....will havta track that mystery down....

Thanks for the help!
User avatar
icetoad
Cacti User
Posts: 65
Joined: Wed Oct 18, 2006 6:20 pm
Location: Orlando
Contact:

Post by icetoad »

Has anyone added a second VPN to be graphed after you initially setup these graphs?

I recently added a VPN and for some reason i cant find a way to graph it. I did a verbose query and it still only shows ONE found. Maybe i am missing something?

Thoughts?
Quote from Bash.org: "I was once thrown out of barnes and noble for moving the bibles to the fiction section."
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests