How to monitor Juniper Netscreen Firewall???

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

shydmoto
Posts: 9
Joined: Wed Feb 28, 2007 11:49 pm

How to monitor Juniper Netscreen Firewall???

Post by shydmoto »

hi,all.

i have been installed cacti 0.8.6j.and i want to monitor my netscreen firewall(NS-25).

the OID as bellow:
.1.3.6.1.4.1.3224.16.2.2.0 Mem Free
.1.3.6.1.4.1.3224.16.2.1.0 Mem Used
.1.3.6.1.4.1.3224.16.3.2.0 Session Used
.1.3.6.1.4.1.3224.16.1.3.0 CPU Load 5 minutes

how to create the template to monitor netscreen firewall.

PS:Netscreen OS is 5.0.
shydmoto
Posts: 9
Joined: Wed Feb 28, 2007 11:49 pm

Post by shydmoto »

i found some templates for netscreen in this forum.but i want to know how to create these templates ,include graphy template/host template/data template.
shydmoto
Posts: 9
Joined: Wed Feb 28, 2007 11:49 pm

Post by shydmoto »

First , I create a data template named as 'Juniper Netccreen Firewall - 5 Minute CPU',data source name is '|host_description| - Netscreen 5 Minute CPU',data input mothd is 'Get SNMP Data',and OID is '.1.3.6.1.4.1.3224.16.1.3.0',then i click 'save'....

but i can't see this issue in data temlates list,,,then i check database,i found a record in table(data_template)...

why???pls help me...
shydmoto
Posts: 9
Joined: Wed Feb 28, 2007 11:49 pm

Post by shydmoto »

can any body help me???
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

What version of MySQL and if version 5.x, review your my.cnf file or my.ini file and make sure sql_mode is commented out. Then restart MySQL.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
shydmoto
Posts: 9
Joined: Wed Feb 28, 2007 11:49 pm

Post by shydmoto »

hi,TheWitness

thank you very much...

MySQL version is 5.0.27.
But i can't find sql_mode string in /etc/my.cnf.
then i connect to mysql and run 'SELECT @@global.sql_mode;',show as bellow:
mysql> SELECT @@global.sql_mode;
+-------------------+
| @@global.sql_mode |
+-------------------+
| |
+-------------------+
1 row in set (0.00 sec)

what i can do ???
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Did you create from scratch or duplicate another?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
shydmoto
Posts: 9
Joined: Wed Feb 28, 2007 11:49 pm

Post by shydmoto »

can you tell me about 'sql_mode'?
i will write it in my my.cnf and restart mysql...

thank u ,but sorry for my poor english...
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If it is not set, you should not be having this problem. I am curious as to why it is not working. Maybe send me a dump of your database.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
shydmoto
Posts: 9
Joined: Wed Feb 28, 2007 11:49 pm

Post by shydmoto »

If i use mysql 4.1.20,i find that cacti works fine..

cacti's version is 0.8.6h.
shydmoto
Posts: 9
Joined: Wed Feb 28, 2007 11:49 pm

Post by shydmoto »

At same time , i found some patchs for cacti 0.8.6h.
i will try it.

thank u,,TheWitness
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

After a while we loose track of when the patches were released and why :oops:
:oops: :oops:

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
moe_szyslak
Posts: 47
Joined: Thu Jul 21, 2005 1:19 pm
Location: Germany

Post by moe_szyslak »

Hi,

I'm monitoring a TippingPoint Firewall with the refered MIBs. The problem is a different value of session between SNMP (.1.3.6.1.4.1.3224.16.3.2.0 Session Used) and the HTML page.

Has anyone got the same behaviour ?



Greetings
Moe
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Does the OID report a COUNTER or a GAUGE?
Reinhard
User avatar
moe_szyslak
Posts: 47
Joined: Thu Jul 21, 2005 1:19 pm
Location: Germany

Post by moe_szyslak »

I beg your pardon, but I don't know the difference. I got this behaviour with cacti and snmpwalk (it makes no difference).
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests