32graph_create_class.mql 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. create class if not exists /m3graph_local() with core=local, ttl=366 day, namespace='m3graph_local';
  2. create class if not exists /m3graph_local/entity() with core=local, ttl=366 day, nickname='entity2_local';
  3. create class if not exists /m3graph_local/entity/vmware() with core=local, ttl=366 day, autosearch=true, version=true, nickname='vmware_local';
  4. create class if not exists /m3graph_local/entity/weblogic() with core=local, ttl=366 day, autosearch=true, version=true, nickname='weblogic_local';
  5. create class if not exists /m3graph_local/entity/websphere() with core=local, ttl=366 day, autosearch=true, version=true, nickname='websphere_local';
  6. create class if not exists /m3graph_local/entity/windows() with core=local, ttl=366 day, autosearch=true, version=true, nickname='windows_local';
  7. create class if not exists /m3graph_local/entity/x86() with core=local, ttl=366 day, autosearch=true, version=true, nickname='x86_local';
  8. create class if not exists /m3graph_local/entity/aix() with core=local, ttl=366 day, autosearch=true, version=true, nickname='aix_local';
  9. create class if not exists /m3graph_local/entity/app() with core=local, ttl=366 day, autosearch=true, version=true, nickname='app_local';
  10. create class if not exists /m3graph_local/entity/biz() with core=local, ttl=366 day, autosearch=true, version=true, nickname='biz_local';
  11. create class if not exists /m3graph_local/entity/cluster() with core=local, ttl=366 day, autosearch=true, version=true, nickname='cluster_local';
  12. create class if not exists /m3graph_local/entity/db2() with core=local, ttl=366 day, autosearch=true, version=true, nickname='db2_local';
  13. create class if not exists /m3graph_local/entity/esx() with core=local, ttl=366 day, autosearch=true, version=true, nickname='esx_local';
  14. create class if not exists /m3graph_local/entity/ha() with core=local, ttl=366 day, autosearch=true, version=true, nickname='ha_local';
  15. create class if not exists /m3graph_local/entity/hmc() with core=local, ttl=366 day, autosearch=true, version=true, nickname='hmc_local';
  16. create class if not exists /m3graph_local/entity/http() with core=local, ttl=366 day, autosearch=true, version=true, nickname='http_local';
  17. create class if not exists /m3graph_local/entity/linux() with core=local, ttl=366 day, autosearch=true, version=true, nickname='linux_local';
  18. create class if not exists /m3graph_local/entity/mal() with core=local, ttl=366 day, autosearch=true, version=true, nickname='mal_local';
  19. create class if not exists /m3graph_local/entity/mysql() with core=local, ttl=366 day, autosearch=true, version=true, nickname='mysql_local';
  20. create class if not exists /m3graph_local/entity/openstack() with core=local, ttl=366 day, autosearch=true, version=true, nickname='openstack_local';
  21. create class if not exists /m3graph_local/entity/oracle() with core=local, ttl=366 day, autosearch=true, version=true, nickname='oracle_local';
  22. create class if not exists /m3graph_local/entity/pdu() with core=local, ttl=366 day, autosearch=true, version=true, nickname='pdu_local';
  23. create class if not exists /m3graph_local/entity/power() with core=local, ttl=366 day, autosearch=true, version=true, nickname='power_local';
  24. create class if not exists /m3graph_local/entity/router() with core=local, ttl=366 day, autosearch=true, version=true, nickname='router_local';
  25. create class if not exists /m3graph_local/entity/sanstorage() with core=local, ttl=366 day, autosearch=true, version=true, nickname='sanstorage_local';
  26. create class if not exists /m3graph_local/entity/sanswitch() with core=local, ttl=366 day, autosearch=true, version=true, nickname='sanswitch_local';
  27. create class if not exists /m3graph_local/entity/sqlserver() with core=local, ttl=366 day, autosearch=true, version=true, nickname='sqlserver_local';
  28. create class if not exists /m3graph_local/entity/switch() with core=local, ttl=366 day, autosearch=true, version=true, nickname='switch_local';
  29. create class if not exists /m3graph_local/entity/tomcat() with core=local, ttl=366 day, autosearch=true, version=true, nickname='tomcat_local';
  30. create class if not exists /m3graph_local/entity/ups() with core=local, ttl=366 day, autosearch=true, version=true, nickname='ups_local';
  31. create class if not exists /m3graph_local/entity/vlan() with core=local, ttl=366 day, autosearch=true, version=true, nickname='vlan_local';
  32. /**
  33. sleep(2s)
  34. **/
  35. ;