Loading...
 

Storage modules

FAQ about storage modules used in perfparsed and other tools.

Questions

Answers

Question: Can I develop a storage module ? How ?
Answer  Yes, please do !
Rename and edit modules/storage_print.c that is an example for developers.
When your storage module is ready, send it to the perfparse development team who will probably include it in next release.
Question: What are the existing storage modules ?
Answer  print : for storage modules developers and hackers only
stdout : prints the perfdata on stdout with the same syntax as Nagios
mysql : fills a mysql database with perfdata
file_output : write the perfdata into files. Rotation of files is possible
socket_output : connects to a server (perfparsed) and write the perfdata there
Question: What are the storage modules ?
Answer  They are plugins to output the performance data in different ways, according to your needs.
Question: perfparsed runs but does nothing
Answer  You have to load the mysql storage module. Either edit your config file and update Storage_Modules_Dir and Storage_Modules_Load, or use the storage_modules_dir and storage_modules_load options on the command line.

On Solaris, this can be not enough. You may have to add the path to the storage modules into LD_LIBRARY_PATH or better, LD_RUN_PATH.

If you compile perfparse with that directory in LD_RUN_PATH, you may not need to set that variable at run time.

Shoutbox

redflo, 14:25 UTC, Sun 10 of Apr, 2005: No, lneuxyuhje, this shall write to a pipe not to a file and so ">" is o.k.
lneuxyuhje, 15:14 UTC, Thu 07 of Apr, 2005: is ">" meant to be ">>" in /usr/local/perfparse/bin/perfparse_nagios_pipe_command.pl ?
redflo, 08:35 UTC, Tue 05 of Apr, 2005: fhdplbvjipsld, it works now. Permissions were wrong.
fhdplbvjipsld, 14:42 UTC, Wed 30 of Mar, 2005: How to post to Forums->Help?
benclewett, 09:27 UTC, Thu 03 of Feb, 2005: Hi Jon! I hope you like our wiki site.