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.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