Few Templates (NetScreen,Nokia,Cisco,Fortigate)

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

Moderators: Developers, Moderators

bedto
Posts: 5
Joined: Mon Jan 21, 2008 4:23 pm
Contact:

Problems fortinet

Post by bedto »

Hi everybody !!!

I used this templates for fortigate, and I haven't problems, but I can't see the graph for the sessions, I tried edit the xml, but I don't know where, jeje

What I do?

Please helpme

Regards
bedto
Posts: 5
Joined: Mon Jan 21, 2008 4:23 pm
Contact:

Problems fortinet

Post by bedto »

Hi everybody !!!

I used this templates for fortigate, and I haven't problems, but I can't see the graph for the sessions, I tried edit the xml, but I don't know where, jeje

What I do?

Please helpme

Regards
Jey
Posts: 41
Joined: Wed Aug 22, 2007 8:01 am

Post by Jey »

Hello,

I have the same problem.
I have a Fortigate Fortinet 200A, but graphs are empty.

No problem with 4 Win2003 Server and one WinXP Pro.

SNMP is actived in config, and a community is created.
Jey
Posts: 41
Joined: Wed Aug 22, 2007 8:01 am

Post by Jey »

No idea ?
lindahu1
Posts: 5
Joined: Fri Feb 29, 2008 4:16 am

Post by lindahu1 »

I used this on 0.8.6j and works fine. However, after upgrading 0.8.7b, the snmp query for memory is fail.
03/03/2008 05:00:17 PM - CMDPHP: Poller[0] Host[30] DS[525] WARNING: Result from SNMP not valid. Partial Result:
03/03/2008 05:00:17 PM - CMDPHP: Poller[0] Host[30] DS[524] WARNING: Result from SNMP not valid. Partial Result:
03/03/2008 05:00:17 PM - CMDPHP: Poller[0] Host[30] DS[523] WARNING: Result from SNMP not valid. Partial Result:
I tried to re-import the xml and the query is still fail. How to fix it?

Thanks for any kind help!!

Linda
Cacti has imported the following items:

CDEF
[success] Total All Data Sources [update]

GPRINT Preset
[success] Normal [update]

Data Input Method
[success] Get SNMP Data [update]

Data Template
[success] Netscreen CPU 1 Minute [update]
[success] Netscreen CPU 5 Minute [update]
[success] Netscreen CPU 15 Minute [update]
[success] Netscreen Allocated Memory [update]
[success] Netscreen Free Memory [update]
[success] Netscreen Fragmented Memory [update]
[success] Netscreen Allocated Sessions [update]
[success] Netscreen Failed Sessions [update]

Graph Template
[success] Netscreen - Load Average [update]
[success] Netscreen - Memory [update]
[success] NetScreen - Sessions [update]

Host Template
[success] NetScreen [update]
lindahu1
Posts: 5
Joined: Fri Feb 29, 2008 4:16 am

Post by lindahu1 »

lindahu1 wrote:I used this on 0.8.6j and works fine. However, after upgrading 0.8.7b, the snmp query for memory is fail.
I have fixed this problem. I change the following mibs:
Netscreen Allocated Memory:
from SNMPv2-SMI::enterprises.3224.16.2.1.0
to .1.3.6.1.4.1.3224.16.2.1.0
Netscreen Free Memory:
from SNMPv2-SMI::enterprises.3224.16.2.2.0
to .1.3.6.1.4.1.3224.16.2.2.0
Netscreen Fragmented Memory:
from SNMPv2-SMI::enterprises.3224.16.2.3.0
to .1.3.6.1.4.1.3224.16.2.3.0


I don't know this is the 0.8.7b bug!! However, there is no problem for "Netscreen Allocated Sessions" - SNMPv2-SMI::enterprises.3224.16.3.2.0!!
ben_c
Cacti User
Posts: 203
Joined: Mon May 14, 2007 8:12 pm
Location: Melbourne, Australia.

Post by ben_c »

lindahu1 wrote:
lindahu1 wrote:I used this on 0.8.6j and works fine. However, after upgrading 0.8.7b, the snmp query for memory is fail.
I have fixed this problem. I change the following mibs:
Netscreen Allocated Memory:
from SNMPv2-SMI::enterprises.3224.16.2.1.0
to .1.3.6.1.4.1.3224.16.2.1.0
Netscreen Free Memory:
from SNMPv2-SMI::enterprises.3224.16.2.2.0
to .1.3.6.1.4.1.3224.16.2.2.0
Netscreen Fragmented Memory:
from SNMPv2-SMI::enterprises.3224.16.2.3.0
to .1.3.6.1.4.1.3224.16.2.3.0


I don't know this is the 0.8.7b bug!! However, there is no problem for "Netscreen Allocated Sessions" - SNMPv2-SMI::enterprises.3224.16.3.2.0!!
So how did it end up looking in the netscreen_stats perl script, something like :

$output =~ /.1.3.6.1.4.1.3224.16.2.1.0 = INTEGER: (.*)/;
print "AllocatedMemory:".$1." ";

?

I'm having the same problem with my Netscreen template from 0.8.6 to 0.8.7. Interfaces are ok, but stats are nan'ing
ben_c
Cacti User
Posts: 203
Joined: Mon May 14, 2007 8:12 pm
Location: Melbourne, Australia.

Post by ben_c »

Ah, I see what you did, you just edited the OID in the data template.

That's fixed everything but free memory for me, I had to bump the maximum value up for this template to 1000000000 and it seems to have fixed it.

Cheers!
Jey
Posts: 41
Joined: Wed Aug 22, 2007 8:01 am

Post by Jey »

Jey wrote:Hello,

I have the same problem.
I have a Fortigate Fortinet 200A, but graphs are empty.

No problem with 4 Win2003 Server and one WinXP Pro.

SNMP is actived in config, and a community is created.
Please ?
bedto
Posts: 5
Joined: Mon Jan 21, 2008 4:23 pm
Contact:

Re: Problems fortinet

Post by bedto »

bedto wrote:Hi everybody !!!

I used this templates for fortigate, and I haven't problems, but I can't see the graph for the sessions, I tried edit the xml, but I don't know where, jeje

What I do?

Please helpme

Regards


Hi everybody !!!!

I fix this problem (finally... :D )

We need configure the template

Console -> Data Templates

And then We need change the options according this network, for example, I need change Minimum and Maximum Value for the data template....

I hope this help you :D

Thanks
Jey
Posts: 41
Joined: Wed Aug 22, 2007 8:01 am

Post by Jey »

Jey wrote:Hello,

I have the same problem.
I have a Fortigate Fortinet 200A, but graphs are empty.

No problem with 4 Win2003 Server and one WinXP Pro.

SNMP is actived in config, and a community is created.
Nobody ?
robg
Posts: 2
Joined: Thu Jun 26, 2008 1:37 pm

Post by robg »

Jey wrote:
Jey wrote:Hello,

I have the same problem.
I have a Fortigate Fortinet 200A, but graphs are empty.

No problem with 4 Win2003 Server and one WinXP Pro.

SNMP is actived in config, and a community is created.
Nobody ?
I'm seeing the same issues... I get an snmp error on the host screen... However all the interface statistics are there. The host reports as down... even though it is not.

Thanks
Jey
Posts: 41
Joined: Wed Aug 22, 2007 8:01 am

Post by Jey »

up ! :D
robg
Posts: 2
Joined: Thu Jun 26, 2008 1:37 pm

Post by robg »

finally got it to work... just had to change the type to Gauge instead of Counter... hooray!
djlau
Posts: 4
Joined: Mon Feb 09, 2009 8:17 am
Location: France
Contact:

Post by djlau »

Hello all
First of all excuse me for my english but i try to speak it as well as possible.

Personally, I use Cacti 0.8.6i with Fortigate50B 3.0 MR6 Patch 3

My problem is that i've the 2 graphs for Sessions & Memory usage but my CPU usage still empty... :(

I think also it's a version problem (cause i'm apparently, only with this problem) could you give me your version please ?


best regards,
djlau
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests