check_snmp_storage_wizard.pl

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
deek
Posts: 194
Joined: Fri Apr 26, 2019 2:01 am

check_snmp_storage_wizard.pl

Post by deek »

Hi Team ,

We are getting an error while trying to monitor disk usage on a linux SNMP v3 device . We are able to monitor CPU and Memory without any issues. Below is the error message while trying to monitor file system / .

[nagios@abc ~]$ /usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H xyz --login=***--passwd=$USER4$ --privpass=$USER5$ --protocols=sha,aes -m "^/$" -w 80 -c 95 -f
ERROR: Description/Type table : No response from remote host "xyz".

Please let us know what can be done here .
snmp capture.PNG
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: check_snmp_storage_wizard.pl

Post by ssax »

Does a base snmpwalk work against the device from the CLI of the XI server?
- Change X.X.X.X, yourcommunity, port, and any other credentials/protocols as needed

For SNMP v2c:

Code: Select all

snmpwalk -v 2c -c 'yourcommunity' X.X.X.X:161
For SNMP v3:

Code: Select all

snmpwalk -v3 -u yoursnmpv3user -A 'authPass' -a SHA -X 'privPass' -x AES -l authPriv X.X.X.X:161
The reasons a base snmpwalk command would fail are because:
- A security device such as a firewall/IPS/security device is impacting it or a network issue
- Wrong SNMP setup/misconfiguration on the remote system
- Wrong SNMP version
- A difference in SNMP v3 engine ID/user/passwords/auth type/protocols
- The version of SNMP on your XI server not supporting the auth/priv ciphers in use by the remote system such as SHA256, etc
- An ACL/whitelist on your remote device preventing authentication from your XI server
deek
Posts: 194
Joined: Fri Apr 26, 2019 2:01 am

Re: check_snmp_storage_wizard.pl

Post by deek »

I tried snmpwalk and Im getting below output .

buffer too small to read octet string (17 < 17)
snmpwalk: Timeout


We were able to monitor CPU and memory utilization for the device without any issues using check_snmp_load_wizard.pl and check_snmp_mem.pl plugins .
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: check_snmp_storage_wizard.pl

Post by ssax »

I've seen that resolved on some systems (not all) by doing this:

https://support.oneidentity.com/one-ide ... tet-string

It could be the max message size exceeding the buffer/packet size, I know you can adjust with the check_snmp_load_wizard.pl option but I'm not sure about the base snmpwalk command:

Code: Select all

-o, --octetlength=INTEGER
  max-size of the SNMP message, usefull in case of Too Long responses.
  Be carefull with network filters. Range 484 - 65535, default are
  usually 1472,1452,1460 or 1440.
deek
Posts: 194
Joined: Fri Apr 26, 2019 2:01 am

Re: check_snmp_storage_wizard.pl

Post by deek »

Hi Team,

Still facing this error .
ERROR: Description/Type table : No response from remote host

I tried executing nmpa command the port is open .

[root@abc ~]# nmap 172.**.***.** -p 161 -sU
Starting Nmap 6.47 ( http://nmap.org ) at 2021-11-15 06:04 EST
Nmap scan report for xyz (172.**.***.**)
Host is up (0.0027s latency).
PORT STATE SERVICE
161/udp open snmp
Nmap done: 1 IP address (1 host up) scanned in 0.09 seconds
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: check_snmp_storage_wizard.pl

Post by ssax »

Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:

https://support.nagios.com/tickets/

Thank you!
deek
Posts: 194
Joined: Fri Apr 26, 2019 2:01 am

Re: check_snmp_storage_wizard.pl

Post by deek »

Im not able to open the link .
User avatar
kfanselow
Posts: 254
Joined: Tue Aug 31, 2021 3:25 pm

Re: check_snmp_storage_wizard.pl

Post by kfanselow »

Hi deek,

Give it another go -- it may have been inaccessible for a brief period of time earlier today but it looks like the site is up now.

Also if you have any javascript blockers enabled you might have to turn those off.

Thanks and Best Regards,
Keith
deek
Posts: 194
Joined: Fri Apr 26, 2019 2:01 am

Re: check_snmp_storage_wizard.pl

Post by deek »

Sure .
Another question : Is it possible to monitor the output of systemctl status of SNMP v2 device . I was not able to monitor through check_snmp_process_wizard.pl .

Example :
admin@abc:~$ sudo systemctl status korbyt-tasks.service
? korbyt-tasks.service - Maestro Tasks
Loaded: loaded (/lib/systemd/system/korbyt-tasks.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-11-16 04:00:05 UTC; 11h ago
Docs: https://www.****.com
Main PID: 18076 (node)
Tasks: 11 (limit: 7372)
CGroup: /system.slice/korbyt-tasks.service
+-18076 /usr/bin/node app.js
User avatar
kfanselow
Posts: 254
Joined: Tue Aug 31, 2021 3:25 pm

Re: check_snmp_storage_wizard.pl

Post by kfanselow »

Hi deek,

You could always setup a check using check_by_ssh. Here's a link to our Knowledge Base Article and the manual page for the plugin:

https://assets.nagios.com/downloads/nag ... ng_SSH.pdf

https://nagios-plugins.org/doc/man/check_by_ssh.html

Thanks and Best Regards,
Keith
Locked