====== Data export ====== PNP provides access to RRD data using the ''xport'' controller. The output format can be specified. At the moment the formats ''xml'', ''json'' and ''csv'' are supported. The controller can be called using the URL /pnp4nagios/xport/?host=&srv= whereas has to be replaced with the desired format. You can also use ''wget'' to generate images and place them in periodic reports. One example may be: wget -O image.png 'http://:@/pnp4nagios/image?host=&srv=&view=2&source=0' ''view='' limits the graph to the timeperiod specified in config.php \\ ''source='' only shows one data source if you have more than one in your RRD file Instead of ''view'' you can use ''start'' and/or ''end'' to specify the time period. For details please look at [[timeranges|"time ranges"]]. [[start|back to contents]] | [[tpl|templates]]