Missing Parts

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
Mux
Posts: 4
Joined: Mon Oct 10, 2005 9:44 am

Missing Parts

Post by Mux »

Hi all,

I am attempting to use the Nokia/Checkpoint (listed here http://forums.cacti.net/viewtopic.php?t=9304) and I seem to be missing the availability and percent scripts -

my interfaces are monitored correctly, but the other associated graphs do not seem to work.

My logs are saying i'm missing two scripts for percent and availabilty -

host_availability_current.php
and
host_availability_percent.php


A post here mentioned that these are included in an add-on package -but I can not seem to find it .


Is anyone else using this package (the checkpoint/Nokia) successfully?


Anyone know where I can get those two scripts?

TIA

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

Post by gandalf »

Please clarify: are you using the original xml + script or are you using my XML-only-template? The latter one comes without any php scripts. If you're using that, please post a snipped from your cacti.log
Reinhard
Mux
Posts: 4
Joined: Mon Oct 10, 2005 9:44 am

Followup

Post by Mux »

Using the host template in that previously mentioned post - I add a host - named bonin with cacti_host_template_checkpoint_firewall.xml as the template (the host is IPSO 3.8)

Each poll of this host will show (in the cacti.log)


10/11/2005 08:40:03 AM - CACTID: Poller[0] Host[2] DS[201] WARNING: Result from SNMP not valid. Partial Result: ...
10/11/2005 08:40:03 AM - CACTID: Poller[0] Host[2] DS[201] WARNING: Result from SNMP not valid. Partial Result: ...
10/11/2005 08:40:27 AM - CACTID: Poller[0] Host[19] ERROR: Empty result [Bonin]: '/var/www/html/cacti/scripts/host_availability_percent.php Boni n'
10/11/2005 08:40:27 AM - CACTID: Poller[0] Host[19] DS[988] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/11/2005 08:40:28 AM - CACTID: Poller[0] Host[19] ERROR: Empty result [Bonin]: 'perl /var/www/html/cacti/scripts/checkpointNG.pl Bonin .1.3.6. 1.4.1.2620.1.1.4.0'
10/11/2005 08:40:28 AM - CACTID: Poller[0] Host[19] DS[987] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/11/2005 08:40:28 AM - CACTID: Poller[0] Host[19] ERROR: Empty result [Bonin]: 'perl /var/www/html/cacti/scripts/checkpointNG.pl Bonin .1.3.6. 1.4.1.2620.1.1.25.3.0'
10/11/2005 08:40:28 AM - CACTID: Poller[0] Host[19] DS[983] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/11/2005 08:40:28 AM - CACTID: Poller[0] Host[19] ERROR: Empty result [Bonin]: 'perl /var/www/html/cacti/scripts/checkpointNG.pl Bonin .1.3.6 .1.4.1.2620.1.1.6.0'
10/11/2005 08:40:28 AM - CACTID: Poller[0] Host[19] DS[985] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/11/2005 08:40:28 AM - CACTID: Poller[0] Host[19] ERROR: Empty result [Bonin]: 'perl /var/www/html/cacti/scripts/checkpointNG.pl Bonin .1.3.6. 1.4.1.2620.1.6.7.1.4.0'
10/11/2005 08:40:28 AM - CACTID: Poller[0] Host[19] DS[984] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/11/2005 08:40:28 AM - CACTID: Poller[0] Host[19] ERROR: Empty result [Bonin]: 'perl /var/www/html/cacti/scripts/checkpointNG.pl Bonin .1.3.6. 1.4.1.2620.1.1.5.0'
10/11/2005 08:40:28 AM - CACTID: Poller[0] Host[19] DS[986] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/11/2005 08:40:28 AM - CACTID: Poller[0] Host[19] ERROR: Empty result [Bonin]: '/var/www/html/cacti/scripts/host_availability_current.php Boni n'
10/11/2005 08:40:28 AM - CACTID: Poller[0] Host[19] DS[989] WARNING: Result from SCRIPT not valid. Partial Result: ...
10/11/2005 08:40:28 AM - SYSTEM STATS: Time:26.9672 Method:cactid Processes:1 Threads:1 Hosts:18 HostsPerProcess:18 DataSources:1868 RRDsProcess ed:962


Hope this helps :)

Thanks

Mux
Mux
Posts: 4
Joined: Mon Oct 10, 2005 9:44 am

Solved

Post by Mux »

My problem was not having the Checkpoint SNMP daemon running (vs the default OS snmpd running on 161)

I had to issue $CPDIR/bin/cpsnmpd -p 260 per gateway as well as appending this to the $CPDIR/bin/fwstart file to get it to start at boot -
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

So, is it working, then?
I'm somewhat confused about those php scripts. I didn't provide any of them in my original post. And I'm just wondering whether my templates refer to those. But as I'm on vacation, I'll have to check next week if your problem's still there ...
So let me know, please
Reinhard
Mux
Posts: 4
Joined: Mon Oct 10, 2005 9:44 am

Checkpoint works - Nokia does not

Post by Mux »

Reinhard et al,

The nokia host template did not work for me, the pollable snmp parts were always blank but this could have been some other error. This template does however reference the host_availability_percent and host_availability_current php scripts:

<input_string>&lt;path_cacti&gt;/scripts/host_availability_percent.php &lt;ip&gt;</input_string>
<input_string>&lt;path_cacti&gt;/scripts/host_availability_current.php &lt;ip&gt;</input_string>


Using the checkpoint template works well after you turn on the 'Checkpoint' snmp daemon :)

Thanks Reinhard!
lightningbit
Posts: 26
Joined: Fri Sep 30, 2005 4:23 am

Post by lightningbit »

Same for me.....

as you can read in this thread :
http://forums.cacti.net/viewtopic.php?p=44604#44604

I've Secure platform as my FW's, not Nokia's

started using the Nokia scripts... only few worked
then I used the Checkpointscripts I found here.... now all graphs seems to be working
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests