Page 1 of 1

snmp string with $ symbol issue

Posted: Wed May 20, 2020 12:22 pm
by mejokj
Hello,

I am trying to add a windows 2016 server using windows snmp wizard and I facing issue. I have tried the below.

snmp string : pa$sw0rd

I have set macros in /usr/local/nagios/etc/resource.cfg
$USER9$=pa$sw0rd

And adding the server from windows snmp wizard and it detect the service and after that the service shows the error. open the link to see the error.
++++++++++++++++++++++++
https://ibb.co/2ghZ6Ms
++++++++++++++++++++++++

And then I edit the macro to below and restart the nagios will fix this issue.
$USER9$='pa$sw0rd'

The above 2nd macro will not work on adding the new wizard. Please assist how to fix this issue.

setting the 2nd macro will shows the below error in wizard

https://ibb.co/jG5BVpW

Re: snmp string with $ symbol issue

Posted: Wed May 20, 2020 4:23 pm
by tgriep
First thing to do is to update the XI Components.
To do that, go to the Admin > Manage Config Wizards menu.
Click on the Check for Updates button to update the list and install the Updates.

There has been some changes to Wizard and user macros so this may be fixes already in the latest version.

The latest version of the Windows SNMP Wizard is 1.5.6 for XI version 5.6.xx.
See if that fixes the issue.

Re: snmp string with $ symbol issue

Posted: Wed May 20, 2020 11:29 pm
by mejokj
Hello,
I am using the latest version of the nagiosxi which installed yesterday. So on checking there is no updated available.

Re: snmp string with $ symbol issue

Posted: Thu May 21, 2020 9:54 am
by tgriep
I was able to recreate the issue and filed a bug fix for it.
For reference, here is the TASK ID 15146.

I do not have a time for when it is going to be fixed.
Just check to see if the wizard is updated in the XI interface and if you see an update, try that.