load_sanperf.sh every minute ?

In my environment, one instance of the run takes about 11 minutes to complete. That being the case, should I configure it to run every 15 minutes or do you have a logic within the script to prevent duplicate commands being triggered by CRON ?.

=====
$ crontab -e
* * * * * /home/stor2rrd/stor2rrd/load_sanperf.sh >/home/stor2rrd/stor2rrd/logs/load_sanperf.out 2>&1
=====


Regards,

Kapil

Comments

  • Use 5 minutes sample rate. Let it work for some time then check how long it takes.
    You can go to 10 minutes as well. Basically nothing wrong happens, it will work even with 15 minutes fine.

    Pavel
  • Will try that.

    I am also getting a lot of gaps the in graphs. I am guessing it is due to the fact that SNMP probably uses UDP and it drops some of the packets on transit. Some of my switches are at various locations in the North America and EU region.
  • ok, try 5 mins, it might fix it. If not then go for 10 mins.
    Let us know.
Sign In or Register to comment.