21.5.1 Changing the Custom Poller collections export directory
NNMi writes the data from the collections you export into the following directory:
Windows: %NNM_DATA%\shared\nnm\databases\custompoller\export
Linux: $NNM_DATA/shared/nnm/databases/custompoller/export
To change the directory into which NNMi writes its Custom Poller files, follow these steps:
Edit the following file:
Windows: %NNM_PROPS%\nms-custompoller.properties
Linux: $NNM_PROPS/nms-custompoller.properties
Look for the exportdir entry.
This entry is similar to the following line:
#!com.hp.nnm.custompoller.exportdir=base-directory-to-export-custom-poller-metrics
To configure NNMi to write Custom Poller collection information into the C:\CustomPoller directory, change the line as follows:
com.hp.nnm.custompoller.exportdir=C:/CustomPoller
Make sure that the characters #! at the beginning of the line are deleted.
- Important
For the directory delimiter character, use a forward slash (/), not a backslash (\), in Windows as well.
Save your changes.
Restart NNMi by running the following commands:
ovstop ovstart