On 4/20/07, Sator81 <[EMAIL PROTECTED]> wrote:

I have created a custom RRD template wich runs a Nagios script (check_http) through and 
proxy server and one that polls the web page without the proxy server. And after alot of 
fiddling the "devices" I create inherit these templates default (I also had to 
sacrifice the default template since I had to rename the template to Device wich 
overwrote the default one). The graph is intended to graph both results to see if the 
proxy server lags at times.

But Zenoss does not create the RRD archives, nor any folder for the new 
"devices" for some reason, I have been reading dozens of forum posts and cant 
figure out whats wrong. The only error message I have found is from the Render wich 
doesnt find the RRD files to generate the graphs.

The commands wich is run (yes I used the wiki on Nagios scripts for Zenoss) is 
like this:
/opt/zenoss/libexec/check_http -H x.x.x.x -p 8080 -u http://${devname}
and:
/opt/zenoss/libexec/check_http ${pdevname}

Both datasrouces has a datapoint called time.
And both crips run as intended with the zenoss user when run manualy or in the 
WebUI (with the real URL instead of ${devname}).

One thing I have noted that might be a problem and that is the location of 
Zenoss, as my CentOS 4.4 installation is located under /opt/zenoss and not 
/usr/local/zenoss.
I have changed the zCommandPath to /opt/zenoss/libexec in Zproperties for both 
the template and the devices. I have also restarted the zCommand service and 
Zenoss several times while trying to make this work.

Other SNMP based devices works fine.

Kai,

It sounds like you set everything up correctly. Try running
"zencommand run -v 10 --device=yourDevice" as the Zenoss user to get
more detailed information about what is happening. You could post the
result back into this thread.

You should also check to see if there is a file called
"check_http_time.rrd" or something like that in the
$ZENHOME/perf/Devices/yourDevice directory.

--
Chet Luther
[EMAIL PROTECTED]
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to