Did you disable rrdchached in config.php, just stopping rrdchaced is not enough?

 

 

Van: observium [mailto:observium-bounces@observium.org] Namens Andrei Stana
Verzonden: donderdag 27 februari 2014 9:27
Aan: Adam Armstrong; Observium Network Observation System
Onderwerp: Re: [Observium] Observium Graph Issue . Draw Error .

 

Hello Adam ,

 

I stopped rrdcahed but when i execut the pooler i

receive the folowing error :

 

root@host:/opt/observium# ./poller.php -h all -d | grep ERROR
stdout[ERROR: Unable to connect to rrdcached: No such file or directory
ERROR: Unable to connect to rrdcached: No such file or directory
ERROR: Unable to connect to rrdcached: No such file or directory
ERROR: Unable to connect to rrdcached: No such file or directory]
stdout[ERROR: Unable to connect to rrdcached: No such file or directory]
stdout[ERROR: Unable to connect to rrdcached: No such file or directory]
stdout[ERROR: Unable to connect to rrdcached: No such file or directory]
stdout[ERROR: Unable to connect to rrdcached: No such file or directory]
stdout[ERROR: Unable to connect to rrdcached: No such file or directory]

 

it is a very strange issue  and my not figure it out where is the problem !

 

 

 

Andrei Stana

Team Leader 3G RAN Pitesti

Rcs & Rds Pitesti

http://www.rcs-rds.ro

Office : 0348-400425

Vodafone : 0720-956507

Digi.Mobil : 0770 048196

Digi.Oriunde: 0770048196

----------------------------------------------------------------------

Privileged/Confidential Information may be contained in this message.

If you are not the addressee indicated in this message (or responsible

for delivery of the message to such person), you may not copy or

deliver this message to anyone. In such a case, you should destroy

this message and kindly notify the sender by reply e-mail.

----------------------------------------------------------------------

 

 

 

------ Original Message ------

From: "Adam Armstrong" <adama@memetic.org>

To: "Andrei Stana" <andrei.stana@rcs-rds.ro>; "Observium Network Observation System" <observium@observium.org>

Sent: 2/27/2014 10:03:34 AM

Subject: Re: [Observium] Observium Graph Issue . Draw Error .

 

Why are you trying to use rrdcache?

 

Didn't you think of trying to make it work without rrdcached first?

 

Rrdcached is not part of the installation instructions.

 

adam.

 

 

On 2014-02-26 09:20, Andrei Stana wrote:

Hello Tom ,

 

I remove the jobs from cron by editing crontab -e .

Now i have just one cron job from observium .

 

ROOT@HOST:/OPT/OBSERVIUM# cat /etc/cron.d/observium

33 */6 * * * root /opt/observium/discovery.php -h all >> /dev/null 2>&1

*/5 * * * * root /opt/observium/discovery.php -h new >> /dev/null 2>&1

*/5 * * * * www-data /opt/observium/poller-wrapper.py 1 >> /dev/null 2>&1

 

thx.

 

Andrei Stana

Team Leader 3G RAN Pitesti

Rcs & Rds Pitesti

http://www.rcs-rds.ro [2]

Office : 0348-400425

Vodafone : 0720-956507

Digi.Mobil : 0770 048196

Digi.Oriunde: 0770048196

----------------------------------------------------------------------

Privileged/Confidential Information may be contained in this message.

If you are not the addressee indicated in this message (or responsible

for delivery of the message to such person), you may not copy or

deliver this message to anyone. In such a case, you should destroy

this message and kindly notify the sender by reply e-mail.

----------------------------------------------------------------------

 

------ Original Message ------

From: "Tom Laermans" <tom.laermans@powersource.cx>

To: "Andrei Stana" <andrei.stana@rcs-rds.ro>; "Observium Network

Observation System" <observium@observium.org>

Sent: 2/26/2014 5:10:30 PM

Subject: Re: [Observium] Observium Graph Issue . Draw Error .

 

Why do you have every cronjob set up twice?

 

On 02/26/2014 03:52 PM, Andrei Stana wrote:

 

Hello again ,

 

after i dig once again into Graph Issue i notice that

 

ROOT@HOST:/ETC/CRON.D# cat observium

33 */6 * * * root /opt/observium/discovery.php -h all >> /dev/null 2>&1

*/5 * * * * root /opt/observium/discovery.php -h new >> /dev/null 2>&1

*/5 * * * * www-data /opt/observium/poller-wrapper.py 1 >> /dev/null 2>&1

 

but when i execute

 

ROOT@HOST:/ETC/CRON.D# crontab -l

33 */6 * * * root /opt/observium/discovery.php -h all >> /dev/null 2>&1

*/5 * * * * root /opt/observium/discovery.php -h new >> /dev/null 2>&1

*/5 * * * * root /opt/observium/poller-wrapper.py 1 >> /dev/null 2>&1

 

the user is root instad of www-data

 

But rrd/ is used pe the user www-data

ROOT@HOST:/OPT/OBSERVIUM# ls -alh

drwxr-xr-x 3 www-data www-data 4.0K Feb 24 16:20 rrd

 

After that when i run :

 

ROOT@HOST:/OPT/OBSERVIUM# ./poller.php -h all -d

 

I saw that a receive some lines with the following error :

[ERROR: rrdcached: Permission denied ]

 

I not figure it out where is the problem !

 

Andrei Stana

Team Leader 3G RAN Pitesti

Rcs & Rds Pitesti

http://www.rcs-rds.ro [2]

Office : 0348-400425

Vodafone : 0720-956507

Digi.Mobil : 0770 048196

Digi.Oriunde: 0770048196

----------------------------------------------------------------------

Privileged/Confidential Information may be contained in this message.

If you are not the addressee indicated in this message (or responsible

for delivery of the message to such person), you may not copy or

deliver this message to anyone. In such a case, you should destroy

this message and kindly notify the sender by reply e-mail.

----------------------------------------------------------------------

 

------ Original Message ------

From: "Andrei Stana" <andrei.stana@rcs-rds.ro>

To: observium@observium.org

Sent: 2/26/2014 10:52:04 AM

Subject: Observium Graph Issue . Draw Error .

 

Hello everyone ,

 

I have a problem regarding the drawing of the graph in observium .

 

Snmpd is running , rrdcached is running .

 

When i run : root@host:/opt/observium# ./poller.php -h all -d

i saw that a receive some lines with the following error :

[ERROR: rrdcached: Permission denied ]

 

The rrdcached daemon is running like this :

 

root@host:/opt/observium# ps fax | grep rrdcached

26356 pts/0 S+ 0:00 | _ grep --color=auto rrdcached

15833 ? Ssl 0:01 /usr/bin/rrdcached -l unix:/var/run/rrdcached.sock -j

/var/lib/rrdcached/journal/ -F -b /var/lib/rrdcached/db -B / -p

/var/run/rrdcached.pid

 

if i go and edit the rrdcached and remove -B option and then i restart

de rrdcached

service i do not get anymore ERROR after i run ./poller.php -h all -d .

 

Suggetions anyone ?

 

Multumesc.

Andrei.

 

Andrei Stana

Team Leader 3G RAN Pitesti

Rcs & Rds Pitesti

http://www.rcs-rds.ro [2]

Office : 0348-400425

Vodafone : 0720-956507

Digi.Mobil : 0770 048196

Digi.Oriunde: 0770048196

----------------------------------------------------------------------

Privileged/Confidential Information may be contained in this message.

If you are not the addressee indicated in this message (or responsible

for delivery of the message to such person), you may not copy or

deliver this message to anyone. In such a case, you should destroy

this message and kindly notify the sender by reply e-mail.

----------------------------------------------------------------------

 

_______________________________________________

observium mailing list

observium@observium.org

http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [1]

 

 

 

Links:

------

[1] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

[2] http://www.rcs-rds.ro/

 

_______________________________________________

observium mailing list

observium@observium.org

http://postman.memetic.org/cgi-bin/mailman/listinfo/observium