Schedule its run every minute from the crontab on every LPAR. Change crontab output to >/dev/null
Hi,
is it a problem for the lpar2rrd agent when I change the crontab entry from:
# su - lpar2rrd $ crontab -l * * * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl <LPAR2RRD-SERVER> > /var/tmp/lpar2rrd-agent.out 2>&1
to
# su - lpar2rrd $ crontab -l * * * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl <LPAR2RRD-SERVER> > /dev/null
Thanks!
Comments
-
Hi,error output should be redirected also to /dev/null otherwise crontab will try to send errors via email to lpar2rrd account, emails will be saved locally as undeliverable in /var/spool/...
-
this one I would suggest instead:
* * * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl <LPAR2RRD-SERVER> > /dev/null 2>&1
-
thanks for the quick reply Pavel.I will change my crontab entry
Howdy, Stranger!
Categories
- 1.5K All Categories
- 5 XORMON NG
- 24 XORMON
- 120 LPAR2RRD
- 9 VMware
- 12 IBM i
- 1 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 5 Database
- 1 Cloud
- 9 Kubernetes / OpenShift / Docker
- 99 STOR2RRD
- 14 SAN
- 6 LAN
- 15 IBM
- 3 EMC
- 10 Hitachi
- 5 NetApp
- 12 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 2 Pure Storage
- Oracle