How to set nmap as No in Motadata?
If you are getting below error while discovering monitors, please follow below steps for the error you have received:
Error: 12-July-2018 12:15:23 PM DEBUG [Linux Metric Collector]:discovery result {Status=0, error-code=Invalid Credentials [10.198.76.24], error-exception=Cannot run program “nmap”: error=2, No such file or directory} of 10.198.76.24
- Go to path using command: cd /motadata/motadata/plugins/metric-collector/linux-metric-collector
- Open plugin.yml by using command: vi plugin.yml
- Search Nmap: Esc /nmap
- Set Nmap as: nmap=no
- Save the file: Esc :wq
- Restart motadata service by using following commands:
service motadata stop service motadata status (This will check whether all process of metadata is stopped or not) service motadata start