Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


RRD's not getting created

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions
Author Message
markstayt



Joined: 17 Aug 2004
Posts: 2

PostPosted: Wed Aug 18, 2004 9:57 am    Post subject: RRD's not getting created Reply with 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.

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#
Back to top
arcanez



Joined: 16 Jul 2004
Posts: 3

PostPosted: Wed Aug 18, 2004 1:07 pm    Post subject: RE: RRD's not getting created Reply with quote

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
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9723
Location: MI, USA

PostPosted: Fri Aug 20, 2004 6:42 pm    Post subject: Reply with quote

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
Back to top
markstayt



Joined: 17 Aug 2004
Posts: 2

PostPosted: Mon Aug 23, 2004 8:22 am    Post subject: Reply with quote

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.
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9723
Location: MI, USA

PostPosted: Mon Aug 23, 2004 4:35 pm    Post subject: Reply with quote

Please post error messages.

TheWitness
Back to top
Brian Blood



Joined: 30 Apr 2005
Posts: 9

PostPosted: Thu Jun 02, 2005 9:19 am    Post subject: Reply with quote

I'm getting the same thing and I'm using PHP 4.3.9
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5453
Location: Wisconsin, USA

PostPosted: Thu Jun 02, 2005 9:42 am    Post subject: Reply with quote

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.
Back to top
Brian Blood



Joined: 30 Apr 2005
Posts: 9

PostPosted: Thu Jun 02, 2005 1:58 pm    Post subject: Reply with quote

Sorry no...
0.8.6d with the two poller/cmd patches recently released.
I found the original post searching Google for the socket problem.
Back to top
Brian Blood



Joined: 30 Apr 2005
Posts: 9

PostPosted: Sat Jun 18, 2005 12:08 pm    Post subject: Reply with quote

I found the problem and posted a solution:

http://forums.cacti.net/viewtopic.php?t=6483
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group