dicenl
4th February 2009, 15:48
Hi all!
i used to use centreon 1.4 for a while. For the graphs i had pnp 0.4.12 so i could report monthly to our customers with a custom pdf. Now for about 4 weeks i've been testing with centreon 2. Got everything working but the graphs are not in a way that i can give them to my customers. Now i would like to use pnp for reporting but i want to use the centreon graphs for my own use.
In short is there a way to use pnp and also have working graphs in centreon. it seems like its or centreon or pnp. or am i doing something wrong (verry much possible :) )
What i did:
For the Service Performance Data Processing Command i made a simple, custom command that might be pretty stupid:
#!/bin/bash
# PNP
/usr/local/nagios/libexec/process_perfdata.pl
# Centreon
/usr/local/nagios/libexec/process-service-perfdata "$LASTSERVICECHECK$" "$HOSTNAME$" "$SERVICEDESC$" "$SERVICEOUTPUT$" "$SERVICESTATE$" "$SERVICEPERFDATA$"
It does build pnp graphs but the centreon graphs are empty. i do see the graph frames but nothing in it. i thinks its very logical it only fills pnp but is there an other way to fill both graphs.
many thanks in advance!!
i used to use centreon 1.4 for a while. For the graphs i had pnp 0.4.12 so i could report monthly to our customers with a custom pdf. Now for about 4 weeks i've been testing with centreon 2. Got everything working but the graphs are not in a way that i can give them to my customers. Now i would like to use pnp for reporting but i want to use the centreon graphs for my own use.
In short is there a way to use pnp and also have working graphs in centreon. it seems like its or centreon or pnp. or am i doing something wrong (verry much possible :) )
What i did:
For the Service Performance Data Processing Command i made a simple, custom command that might be pretty stupid:
#!/bin/bash
# PNP
/usr/local/nagios/libexec/process_perfdata.pl
# Centreon
/usr/local/nagios/libexec/process-service-perfdata "$LASTSERVICECHECK$" "$HOSTNAME$" "$SERVICEDESC$" "$SERVICEOUTPUT$" "$SERVICESTATE$" "$SERVICEPERFDATA$"
It does build pnp graphs but the centreon graphs are empty. i do see the graph frames but nothing in it. i thinks its very logical it only fills pnp but is there an other way to fill both graphs.
many thanks in advance!!