Hi,
we use the MongoDB (Linux) Template for SAM and we want to monitor our mongodb using the perl script, but we don't use the default port (27017), so when we are trying to use the script we receive a communication error.
How can we modify the script?
The command that pass the script is /mongodb/bin/mongo test but we want to pass this command /mongodb/bin/mongo --port 28017 test
I don't know very well perl, so any help is appreciated.
Thanks in advance.