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
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
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
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