How to use cacti with checkpoint-fw1 snmpd ?

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

Moderators: Developers, Moderators

naislacker
Posts: 5
Joined: Sat Nov 26, 2005 1:17 pm

Post by naislacker »

can't import cacti_template_checkpoint_firewall1.xml in cacti-cp.zip.
i'm use cacti 0.8.6i.
mrtsilva8
Posts: 2
Joined: Tue May 25, 2010 8:56 am

PHP Notice: Undefined offset:

Post by mrtsilva8 »

Hi All,

If I do:

"/usr/bin/php -q /usr/share/cacti/scripts/query_checkpoint.php xxx.xxx.xxx.xxx public 1"

I get:

"PHP Notice: Undefined offset: 4 in /var/lib/cacti/scripts/query_checkpoint.php on line 27"

which is the line:

"$cmd = $_SERVER["argv"][4];"

What am I doing wrong?

Thank you in advance.

Regards,

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

Post by gandalf »

This looks like a very old script server script.
The cacti_snmp_* functions have been changed to support SNMP V3 and scripts have to be changed accordingly.
Please post your question to the topic were you've downloaded the code from to get support from the original author
R.
mrtsilva8
Posts: 2
Joined: Tue May 25, 2010 8:56 am

How to use cacti with checkpoint-fw1 snmpd ?

Post by mrtsilva8 »

Hi,

Thank you for your response.

My next question would be; Where can I get the latest scripts and templates, then?

Thank you.

Regards,

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

Post by gandalf »

Our SVN is read access to public :wink:
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests