not being able to collect data
Hello,
Since Novembre we are getting errors in the log
Wed Dec 18 17:23:09 2024: No server was found : /app/lxpsto01/stor2rrd/bin/netbackupperf.pl:273 :
Wed Dec 18 17:29:02 2024: ERROR: Unable to get data from: https://<server>:1556/netbackup/storage/storage-servers/AdvancedDisk:lxpnbk1e.tech.intra.groupama.fr/disk-volumes :/app/lxpsto01/stor2rrd/bin/netbackupperf.pl:780 :
Wed Dec 18 17:29:02 2024: read timeout at /usr/share/perl5/vendor_perl/Net/HTTP/Methods.pm line 268. :
the connexion check via the GUI is OK
the curl command using the API just hangs
Thanks
Comments
-
the curl command using the API = now responds but takes a while
-
send us logs
Note a short problem description in the text field of the upload form.
cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
tar cvhf logs.tar logs tmp/*txt
gzip -9 logs.tar
Send us logs.tar.gz via https://upload.stor2rrd.com
-
If you problem is too low request timeout, you can increase it by following steps:
1.
https://download.stor2rrd.com/patch/7.96-10-5-ge9f4a/netbackupperf.pl.gz
Gunzip it and copy to home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)
-rw-rw-r-- 1 stor2rrd stor2rrd 33126 Dec 20 15:44 netbackupperf.pl
If your web browser gunzips it automatically then just rename it: mv netbackupperf.pl.gz netbackupperf.pl
Make sure the filesize is the same as in the example above
2.
https://download.stor2rrd.com/patch/7.96-10-5-ge9f4a/netbackupconf.pl.gz
Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)
-rw-rw-r-- 1 stor2rrd stor2rrd 20726 Dec 20 15:44 netbackupconf.pl
If your web browser gunzips it automatically then just rename it: mv netbackupconf.pl.gz netbackupconf.pl
Make sure the filesize is the same as in the example above
3. cd home/stor2rrd/stor2rrd/etc
4. Add export NETBACKUP_REST_API_TIMEOUT=number line to ./.magic
You can substitute number with any value between 1-270. If wrong value is set, timeout will fallback to 60s.
For example to set timeout for 2 min: export NETBACKUP_REST_API_TIMEOUT=120
Howdy, Stranger!
Categories
- 1.6K All Categories
- 48 XORMON NG
- 25 XORMON
- 153 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 7 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 124 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 2 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle