Skip to main content

Posts

Showing posts with the label Networks Operations Center

How to Clear Emergency Shutdown Flags on Zenoss

When you encounter "404 Not Found", "424 Failed Dependency" and "502 Bad Gateway" tsdb errors in Grafana, this means that a Service died. In this documentation, I am using Zenoss as an example of service. So, "ServiceID" = Zenoss How can this issue be solved? 1. We need to clear the emergency-shutdown flags on Zenoss 2. Restart Zenoss The following steps will guide you through the process in solving this issue and what statuses should be checked: 1. Log in to the Control Center master host as root. i.e. root@mon1:~()# 2. Use this command to check the status of Zenoss: root@mon1:~()# serviced healthcheck All service status should be "passed". If status is "failed", this needs to clear the emergency flag. 3. Use this command to clear the emergency-shutdown flag for a service (Zenoss): root@mon1:~()# serviced service clear-emergency Zenoss Sample output: Cleared emergency status for 45 services 4. This command will check services...

How to Setup Alerts in Grafana?

Here's a sample process on how to create an alert on Grafana: 1. Go to your desired graph where you wanted to add an alert. 2. Click Edit 3. Go to the Alert tab. 4. Click " Create Alert " 5. In the " Alert Config " section, change the following values: a. Name - this will appear on the alert notification b. Evaluate every - change this to 5s. This means that the graph will update its data every 5 seconds. c. For - change this to 0m (zero minutes) 6. Under Conditions , set the following: a. When - click on "avg() to change to min(). There are also other options to choose from – depending on what you need. b. Of - change to query(A,1h,now) Query parameters: 1st parameter is the metric. 2nd parameter is the FROM value. 3rd parameter is the TO value. This is the condition being set to validate metrics data. c. Is Above - change this to " IS BELOW " and put the value " 0.01 ". There are a...

Guide to Kamailio Installation

As of this writing, this guide will guarantee that you will have a successful Kamailio installation -- tried and tested. Please comment if this post needs to be updated.  😁 Setup YUM Repository: 1) Install wget so we can pull down the rpm. Code: yum install wget 2) Let’s download the yum repo file for our CentOS version and update the system so yum is aware of the new repository. Code: cd /etc/yum.repos.d/ Code: wget http://download.opensuse.org/repositories/home:/kamailio:/v4.4.x-rpms/CentOS_7/home:kamailio:v4.4.x-rpms.repo 3) Update system so yum is aware of the new repository. Code: yum update 4) You can look at the kamailio packages in the YUM repository by typing: Code: yum search kam Install Kamailio and Required Database Modules: 1) Install the following packages from the new repo. Code: sudo yum install -y kamailio kamailio-ldap kamailio-mysql kamailio-presence kamailio-postgres kamailio-debuginfo kamailio-xmpp kamailio-unixodbc kamailio-u...

How to Setup the Preferred Display Style in Grafana

Here are the steps in setting up the preferred display style in Grafana: 1. Go to the Display tab, then Draw Options . 2. In the Draw Modes , check Lines and Points . 3. In the Mode Options , set: Fill = 0 Line Width = 1 Point Radius = 1

How to Edit a Panel Title in Grafana

Here are the steps in editing a Panel Title in Grafana: 1. Hover on the Panel Title, click on the inverted triangle. 2. Select Edit 3. In the General tab, edit the Title field. Note: Changes will take effect real-time.

How to add a Panel in Grafana

Click this icon: Types of Panels: Graph (commonly used panel for NOC) Text Dashboard list Pie Chart 3D Globe Panel Singlestat Heatmap Row Worldmap Panel worldPing CTA worldPing Endpoint Nav Table Alert List Bubble Chart Plugin List worldPing Endpoint List

How to Rename a Dashboard in Grafana

Here are the steps in renaming a dashboard in Grafana: 1. Click the Settings Icon 2. In the General tab, edit the Name field. 3. Click Save

How to Create a Dashboard in Grafana

Here are the steps in creating a dashboard in Grafana: 1. On the left panel, hover on the " Dashboards " icon. 2. Select " Manage " 3. On the folder that you're allowed to add a dashboard, click the " Settings " icon. 4. Click the " + Dashboard " button.