Cron Daemon /usr/local/bin/python /usr/local/bin/graph.py

Status
Not open for further replies.

David Raper

Cadet
Joined
Jun 10, 2013
Messages
5
We just started receiving this message in our mailboxes every 5 minutes, and have been unable to locate the source of the problem. Any help would be appreciated. Below is the information from the e-mail.

Traceback (most recent call last):
File "/usr/local/bin/graph.py", line 480, in <module>
GenerateInterfaceGraph()
File "/usr/local/bin/graph.py", line 135, in GenerateInterfaceGraph
'GPRINT:global_tot_tx:ca. %5.1lf%s Total\l'
rrdtool.error: Could not save png to '/tmp/graph/if-em0-1h.png'
 

David Raper

Cadet
Joined
Jun 10, 2013
Messages
5
The /var log was full. We just restarted the server to clear the log out. We ended up setting up a nightly reboot on it because the /var log file was filling up every day or two.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
You probably fixed the symptom but something is wrong if the logs are filling the /var that fast.
 

David Raper

Cadet
Joined
Jun 10, 2013
Messages
5
We found the reason behind that too, but are limited with what we can do to resolve that issue. The reason that they are filling up that fast is because we have IP camera's that take a snapshot and store to the file system, every time motion is detected.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
How does that affect the logs? Just wondering...
 

David Raper

Cadet
Joined
Jun 10, 2013
Messages
5
As far as I have been able to tell, every connection writes a new line to the log file, causing it to expand in size. Because the camera's are constantly taking pictures and connecting to the fileserver, it is creating numerous lines in the var log file. The only thing we have found to be able to resolve that issue, is a daily reboot to clear the var log file. I could be wrong on how it is affecting the logs, but this seems to be the case with our setup.
 
Status
Not open for further replies.
Top