Nagiosgraph again

So i wanted to try nagiosgraph, everything works fine.

At least, when i do it manually the script runs en the graphs get drawn.
The thing is when i do ./insert.pl it deletes my perfdata.log and then nagios gets an error because it cant write to perfdata.log

Also insert.pl doenst run automaticlly but i think it has something to do with the problem above.

If there is any more information needed just let me know

With your cannot write to perfdata.log might be something to do with right permission for nagios user.

Well, I tried nagiosgrph before and unsuccessful so I went for PNP for nagios. Which works brilliantly.