|
|
| Author |
Message |
Mux
Joined: 10 Oct 2005 Posts: 4
|
Posted: Mon Oct 10, 2005 9:49 am Post subject: Missing Parts |
|
|
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 |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12604 Location: Muenster, Germany
|
Posted: Tue Oct 11, 2005 4:41 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Mux
Joined: 10 Oct 2005 Posts: 4
|
Posted: Tue Oct 11, 2005 7:44 am Post subject: Followup |
|
|
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.
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 |
|
| Back to top |
|
 |
Mux
Joined: 10 Oct 2005 Posts: 4
|
Posted: Tue Oct 11, 2005 11:14 am Post subject: Solved |
|
|
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 - |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12604 Location: Muenster, Germany
|
Posted: Tue Oct 11, 2005 12:21 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Mux
Joined: 10 Oct 2005 Posts: 4
|
Posted: Wed Oct 12, 2005 9:27 am Post subject: Checkpoint works - Nokia does not |
|
|
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! |
|
| Back to top |
|
 |
lightningbit
Joined: 30 Sep 2005 Posts: 26
|
Posted: Wed Oct 12, 2005 9:46 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|