Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Jun 29, 2017 5:50 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: RRD's not getting created
PostPosted: Wed Aug 18, 2004 9:57 am 
Offline

Joined: Tue Aug 17, 2004 5:19 pm
Posts: 2
I am using cacti-0.8.6 20040817 but am having the problem that the rrd's
for the devices are not being created.

If I use the output from the Data sources debug, and put it on the command line the RDD's are created.

I have checked permissions and everything is correct.

Below is the output from php cmd.php

arecibo# php cmd.php
PHP Warning: socket_set_option() unable to set socket option [99]: Option not supported by protocol in /stripe/xampp/htdocs/cacti_b
ad/lib/ping.php on line 216
#!/usr/bin/php -q
08/18/2004 11:08 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
08/18/2004 11:08 AM - CMDPHP: Poller[0] Host[1] PING: Host is Alive
08/18/2004 11:08 AM - CMDPHP: Poller[0] Host[1] SNMP: SNMP not performed due to setting or ping result.
08/18/2004 11:08 AM - CMDPHP: Poller[0] Host[1] CMD: perl /stripe/xampp/htdocs/cacti-0.8.6/scripts/linux_memory.pl MemFree:, output:

08/18/2004 11:08 AM - CMDPHP: Poller[0] Host[1] CMD: perl /stripe/xampp/htdocs/cacti-0.8.6/scripts/linux_memory.pl SwapFree:, output
:
08/18/2004 11:08 AM - CMDPHP: Poller[0] Host[1] CMD: perl /stripe/xampp/htdocs/cacti-0.8.6/scripts/loadavg_multi.pl, output: 1min:0.
10 5min:0.07 10min:0.07
08/18/2004 11:08 AM - CMDPHP: Poller[0] Host[1] CMD: perl /stripe/xampp/htdocs/cacti-0.8.6/scripts/unix_users.pl, output: 8
08/18/2004 11:08 AM - CMDPHP: Poller[0] Host[1] CMD: perl /stripe/xampp/htdocs/cacti-0.8.6/scripts/unix_processes.pl, output: 109
08/18/2004 11:08 AM - CMDPHP: Poller[0] Execution Time: 1.1224 s, Method: cmd.php Polled Hosts: 1
arecibo#


Top
 Profile  
 
 Post subject: RE: RRD's not getting created
PostPosted: Wed Aug 18, 2004 1:07 pm 
Offline

Joined: Fri Jul 16, 2004 1:55 pm
Posts: 3
Quote:
I am using cacti-0.8.6 20040817 but am having the problem that the rrd's for the devices are not being created.

try running poller.php instead. poller.php figures out which to run, cactid or cmd.php. I had the same problem as you and it was fixed by running poller.php. Also, I removed the #!/usr/bin/php from the top of all my php scripts, since I run them as php <script> and not ./script.php :-?

arcanez


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 20, 2004 6:42 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
Quote:
PHP Warning: socket_set_option() unable to set socket option [99]: Option not supported by protocol in /stripe/xampp/htdocs/cacti_b
ad/lib/ping.php on line 216


Also, it looks like either your version of PHP does not support the socket calls required for host pinging or you are not running poller.php as root and attempting to open an ICMP socket. If the latter is the case, you can choose UDP ping or SNMP polling.

Socket calls are supported in 4.3.6+. I am not that familiar with *nix. Therefore, I can not be much help.

TheWitness

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

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 23, 2004 8:22 am 
Offline

Joined: Tue Aug 17, 2004 5:19 pm
Posts: 2
Running poller.php seem to have sorted out the problem. I still get the error messages, but the RRD's are been created and updated.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 23, 2004 4:35 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
Please post error messages.

TheWitness

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

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 02, 2005 9:19 am 
Offline

Joined: Sat Apr 30, 2005 2:40 pm
Posts: 10
I'm getting the same thing and I'm using PHP 4.3.9

_________________
Brian Blood
http://www.macserve.net/


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 02, 2005 9:42 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5948
Location: Michigan, USA
Are you using an unstable release? If so..... Well, it's alpha... If not, please post in the GENERAL forums or the approriate platform forums.

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 02, 2005 1:58 pm 
Offline

Joined: Sat Apr 30, 2005 2:40 pm
Posts: 10
Sorry no...
0.8.6d with the two poller/cmd patches recently released.
I found the original post searching Google for the socket problem.

_________________
Brian Blood
http://www.macserve.net/


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 18, 2005 12:08 pm 
Offline

Joined: Sat Apr 30, 2005 2:40 pm
Posts: 10
I found the problem and posted a solution:

http://forums.cacti.net/viewtopic.php?t=6483

_________________
Brian Blood
http://www.macserve.net/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group