Report this

What is the reason for this report?

I am monitoring my server with nagios software and how can the stats obtained be transferred automatically to ms word using powershell?

Posted on July 1, 2017

can i get the command for scripts for powershell to execute automated data transfer



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello there,

I know it’s been a while, but I want to post a possible solution/workaround.

You can actually specify in the nagios.cfg configuration file to save certain types of data to text files.

An example is:

service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$

Also, there’s a way to export the data via the GUI of Nagios, but I believe in terms of automating the process you can rely on saving the data in files.

Hope that this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.