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 thatroot@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>&1but when i executeroot@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>&1the user is root instad of www-dataBut rrd/ is used pe the user www-dataroot@host:/opt/observium# ls -alhdrwxr-xr-x 3 www-data www-data 4.0K Feb 24 16:20 rrdAfter that when i run :root@host:/opt/observium# ./poller.php -h all -dI saw that a receive some lines with the following error :[ERROR: rrdcached: Permission denied ]I not figure it out where is the problem !Andrei StanaTeam Leader 3G RAN PitestiRcs & Rds PitestiOffice : 0348-400425Vodafone : 0720-956507Digi.Mobil : 0770 048196Digi.Oriunde: 0770048196----------------------------------------------------------------------Privileged/Confidential Information may be contained in this message.If you are not the addressee indicated in this message (or responsiblefor delivery of the message to such person), you may not copy ordeliver this message to anyone. In such a case, you should destroythis message and kindly notify the sender by reply e-mail.---------------------------------------------------------------------------- Original Message ------From: "Andrei Stana" <andrei.stana@rcs-rds.ro>Sent: 2/26/2014 10:52:04 AMSubject: 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 -di 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.pidif i go and edit the rrdcached and remove -B option and then i restart de rrdcachedservice i do not get anymore ERROR after i run ./poller.php -h all -d .Suggetions anyone ?Multumesc.Andrei.Andrei StanaTeam Leader 3G RAN PitestiRcs & Rds PitestiOffice : 0348-400425Vodafone : 0720-956507Digi.Mobil : 0770 048196Digi.Oriunde: 0770048196----------------------------------------------------------------------Privileged/Confidential Information may be contained in this message.If you are not the addressee indicated in this message (or responsiblefor delivery of the message to such person), you may not copy ordeliver this message to anyone. In such a case, you should destroythis 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