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/07/12 10:42] jotasandokunms:observium [2023/11/02 14:38] (current) – external edit 127.0.0.1
Line 13: Line 13:
 Housekeeping : [[https://docs.observium.org/tuning/#housekeeping]] \\ Housekeeping : [[https://docs.observium.org/tuning/#housekeeping]] \\
 Update : [[https://docs.observium.org/updating/]]\\ Update : [[https://docs.observium.org/updating/]]\\
 +  ./discovery.php -V    # to see the CURRENT version
   svn update   svn update
   /opt/observium/discovery.php -u   /opt/observium/discovery.php -u
Line 20: 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 36: Line 37:
     * Alert Checker >  device_down > Associations > Device in > Select all     * Alert Checker >  device_down > Associations > Device in > Select all
     * **^^ 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!
 +\\
 +This is an example of **production alerts checkers** (change it to xml extension): {{ :nms:observium_templates_alert_allxml.txt |}}
  
  
Line 50: Line 54:
   /opt/observium/housekeeping.php -ya -d   /opt/observium/housekeeping.php -ya -d
      
 +
 ---- ----
 +
  
 REMOVED ALERTS: \\ REMOVED ALERTS: \\
Line 56: Line 62:
  
  
 +
 +----
 +
 +
 +TROUBLESHOOTING:\\
 +
 +  /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)
 +  use observium;   # connects database
 +  show tables;
 +  describe alert_log;
 +  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.1562928171.txt.gz · Last modified: (external edit)