Translations of this page:

This is an old revision of the document!

A converter

Le script libexec/ peut-être utilisé pour passer du modèle RRD_STORAGE_TYPE à celui de MULTIPLE et migrer les bases de données RRD.

Avec PNP, nous utilisons toujours les commandes “check command” de Nagios. --check_command=<nagios_check_command> | --list_commands [ --dry-run ] [ --tmp_dir=<temp-directory ]
[ --no_structure_check ]

Vous devez spécifier au moins une ”--check_command” ou ”--list_commands”, suivant le cas. En utilisant --check-command= vous demandez quel est le script que vous voulez utiliser. va maintenant parcourir l'ensemble des fichiers PNP XML pour cette commande et sortir les statistiques associées.

After confirmation from the user the conversion of the appropriate RRD databases will start displaying the progress. Pressing <ENTER> as an answer will terminate the script so please enter a letter.

If you are unsure then use --list_commands to get a list of the check commands used in the XML files.

The option --dry-run will convert the RRD databases but they will be stored in /tmp/rrd_convert in separate folders per host instead. This way you'll get a feeling about the runtime and the amount of data.

If you want to change the temporary directory you can use --tmp_dir=<alternative temp dir>.

Sometimes the number of datasources in the RRD files doesn't match the number in the XML files. This might happen if a plugin suddenly returns more datasources than usual (like check_disk as mentioned above). Using the option --no_structure_check these RRD files will be converted as well.

back to contents | NPCD details

fr/pnp-0.6/rrd_convert.1351954112.txt.gz · Last modified: 2012/11/03 15:48 by jacques.soubelet Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0