cancel
Showing results for 
Search instead for 
Did you mean: 

irsnmp Error 40

MattAnderson
05 Base Camper

irsnmp Error 40

Looking to use Extractor for additional monitoring with irsnmp.  I'm testing irsnmp from a command-line to verify settings and parameters but keep getting the following error:

 

D:\Prognosis\Server\Configuration>..\irsnmp -conf SNMP\snmp_sysuptime.cfg -agent 10.160.8.21
? Error 40 on SnmpMgrRequest to 10.160.8.21
RequestOID=.1.3.6.1.2.1.1

 

I've tried with different OIDs and get the same results.  Any idea what Error 40 is? Found the following when googling the error:

 

This error occurs when the Simple Network Management Protocol (SNMP)
service fails or does not start. To correct this problem, restart the
service or ,if necessary, restart the computer.   

 

Tags (2)
4 REPLIES 4
MattAnderson
05 Base Camper

Re: irsnmp Error 40

Speculating I need to install SNMP on the Windows Server to run as a service but not sure.  

David_Sun
Expert

Re: irsnmp Error 40

Hi Matt,

 

The error 40 indicates the SNMP service on the remote server is either not running/activated or not responding to the query in the input file. For example if the SNMP Master agent service is down on a CUCM server, we will get this error when run the tool.

In your case the snmp service will need to be activated on the Windows server and community string set as well.

 

Thank you.

 

MattAnderson
05 Base Camper

Re: irsnmp Error 40

Okay, I can snmpwalk the device just fine so I'm thinking it may be the service that is the issue.  I did install it but perhaps there is still a configuration step I missed.  

 

Also, can you verify that SNMP Device Central doesn't use this?  I think it is using PACE but just want to make sure. 

David_Sun
Expert

Re: irsnmp Error 40

Hi Matt,

 

If the community string is not correct, it can also return the error 40, but you can run the snmpwalk ok so the community string should be correct, you might double check it the input file. 

Try to restart the SNMP service on the server and see if it helps.

 

The SNMP display won't affect this tool.  If after verifying the community string and the service, it still does not run properly, please log a support case, our support team will help troubleshoot.

 

Thank you.

Webinar: Keep the modern workforce connected

Unified Communications has always been an important part of companies' digital transformation efforts due to its ability to enable rich virtual collaboration and communication. But with COVID-19, we've reached a break-through point.

Join Bill Haskins, Sr. Analyst & Partner, Unified Communications at Wainhouse Research, and John Ruthven, CEO at IR discuss UC challenges companies are experiencing due to the COVOID-19 crisis.

Join webinar