User Tools

Site Tools


nms:observium

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nms:observium [2019/10/07 07:35] jotasandokunms:observium [2023/11/02 14:38] (current) – external edit 127.0.0.1
Line 21: Line 21:
 ---- ----
 Add and delete devices. Recreate device doesn't delete history:\\ Add and delete devices. Recreate device doesn't delete history:\\
-  /opt/observium/delete_device.php opengear.sg3.mgt.grapeshot.co.uk +  /opt/observium/delete_device.php opengear.sg3.mgt.mycompany1.co.uk 
-  /opt/observium/add_device.php opengear.sg3.mgt.grapeshot.co.uk ap v3 ODC XXXXXXXXXXXX YYYYYYYYYYY sha aes 161 udp+  /opt/observium/add_device.php opengear.sg3.mgt.mycompany1.co.uk ap v3 ODC XXXXXXXXXXXX YYYYYYYYYYY sha aes 161 udp
      
 ---- ----
Line 38: Line 38:
     * **^^ We need to do this regularly to account for new or gone devices!**     * **^^ We need to do this regularly to account for new or gone devices!**
   * **In order to edit the "Entity Association Ruleset" access observium via managment address.** If you access via public address, the menu appears empty!   * **In order to edit the "Entity Association Ruleset" access observium via managment address.** If you access via public address, the menu appears empty!
 +\\
 +This is an example of **production alerts checkers** (change it to xml extension): {{ :nms:observium_templates_alert_allxml.txt |}}
  
  
Line 67: Line 69:
  
   /opt/observium/discovery.php -V    # to check current version   /opt/observium/discovery.php -V    # to check current version
 +  tail -f observium.log /opt/observium/logs/observium.log # for snmp polling logs
      
   mysql -p -u observium   # to access the database (credentials in config.php)   mysql -p -u observium   # to access the database (credentials in config.php)
Line 73: Line 76:
   describe alert_log;   describe alert_log;
   SELECT * FROM alert_log where log_type = 'FAIL' ORDER BY timestamp DESC LIMIT 10;  # to check last alerts    SELECT * FROM alert_log where log_type = 'FAIL' ORDER BY timestamp DESC LIMIT 10;  # to check last alerts 
 +  describe devices;
 +  select device_id, hostname, sysName from devices where device_id = '440';
nms/observium.1570433725.txt.gz · Last modified: (external edit)