snmp string with $ symbol issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

snmp string with $ symbol issue

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: snmp string with $ symbol issue

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: snmp string with $ symbol issue

Post by mejokj »

Hello,
I am using the latest version of the nagiosxi which installed yesterday. So on checking there is no updated available.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: snmp string with $ symbol issue

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked