dhcpleases.js 454 B

12345678910111213141516171819202122232425
  1. /* Licensed to the public under the Apache License 2.0. */
  2. 'use strict';
  3. 'require baseclass';
  4. return baseclass.extend({
  5. title: _('DHCP Leases'),
  6. rrdargs: function(graph, host, plugin, plugin_instance, dtype) {
  7. return {
  8. title: "%H: DHCP leases",
  9. alt_autoscale_max: true,
  10. vlabel: "Leases given",
  11. number_format: "%3.0lf",
  12. data: {
  13. types: [ "count" ],
  14. options: {
  15. count: {
  16. title: "Leases"
  17. }
  18. }
  19. }
  20. };
  21. }
  22. });