Eden Net Self Monitoring Using Zabbix
Eden Net Self Monitoring Using Zabbix
The information in this document applies solely to the hardware/software product (“Product”) specified herein, and only as specified herein.
This document is intended for use by Nokia' customers (“You”) only, and it may not be used except for the purposes defined in the agreement
between You and Nokia (“Agreement”) under which this document is distributed. No part of this document may be used, copied, reproduced,
modified or transmitted in any form or means without the prior written permission of Nokia. If you have not entered into an Agreement
applicable to the Product, or if that Agreement has expired or has been terminated, You may not use this document in any manner and You
are obliged to return it to Nokia and destroy or delete any copies thereof.
The document has been prepared to be used by professional and properly trained personnel, and You assume full responsibility when using
it. Nokia welcome Your comments as part of the process of continuous development and improvement of the documentation.
This document and its contents are provided as a convenience to You. Any information or statements concerning the suitability, capacity,
fitness for purpose or performance of the Product are given solely on an “as is” and “as available” basis in this document, and Nokia reserves
the right to change any such information and statements without notice. Nokia has made all reasonable efforts to ensure that the content of
this document is adequate and free of material errors and omissions, and Nokia will correct errors that You identify in this document. But,
Nokia' total liability for any errors in the document is strictly limited to the correction of such error(s). Nokia does not warrant that the use of
the software in the Product will be uninterrupted or error-free.
This document is Nokia’ proprietary and confidential information, which may not be distributed or disclosed to any third parties without the
prior written consent of Nokia.
Nokia is a registered trademark of Nokia Corporation. Other product names mentioned in this document may be trademarks of their
respective owners, and they are mentioned for identification purposes only.
Nokia is continually striving to reduce the adverse environmental effects of its products and services. We would like to encourage you
as our customers and users to join us in working towards a cleaner, safer environment. Please recycle product packaging and follow the
recommendations for power use and proper disposal of our products and their components.
If you should have questions regarding our Environmental Policy or any of the environmental services we offer, please contact us at Nokia for
any additional information.
EdenNet Self-monitoring Using Zabbix DN09243842 1-1 Table of Contents
Contents
1 Summary of changes...................................................................................................................................... 5
4 Host configuration.........................................................................................................................................10
4.1 Creating SNMP user in Selfmon VM node.............................................................................................10
4.1.1 Checking the status of SNMPD service......................................................................................... 11
4.1.2 Stopping SNMPD service............................................................................................................... 11
4.1.3 Creating SNMP user.......................................................................................................................12
4.1.4 Starting SNMPD service.................................................................................................................12
4.1.5 Changing privileges on snmpd.conf file......................................................................................... 12
4.2 Importing a template............................................................................................................................... 13
4.3 Linking template to host..........................................................................................................................13
4.3.1 Linking a template.......................................................................................................................... 13
4.3.2 Unlinking a template....................................................................................................................... 14
4.4 Configuring Zabbix to forward the SNMP TRAPs for events to an external monitoring system..............14
4.4.1 Creating a new media type............................................................................................................ 14
4.4.2 Mapping media type to user...........................................................................................................15
4.4.3 Creating an action.......................................................................................................................... 16
4.5 Modifying Selfmon node Zabbix agent details........................................................................................17
5 Supported triggers........................................................................................................................................ 19
9 Troubleshooting............................................................................................................................................. 34
1 Summary of changes
EdenNet 20 No change.
• Creating SNMP user - updated for python 3.7 and non-root user in-
stallation features.
EdenNet 19 No change.
Updated section:
Updated section:
Updated section:
Self monitoring feature enables the EdenNet system to monitor its resources, connectivity and appli-
cations. Resources refer to hardware devices, virtual machines, CPU, memory and so on. Resource
measurements are monitored continuously and appropriate triggers/events are generated to indicate
a problem. The triggers can be viewed and acknowledged in the zabbix UI. Zabbix is used as the self
monitoring solution in the EdenNet system.
The zabbix server and its agent are installed as part of EdenNet installation. For further details about
installation, contact Nokia technical support.
Note: In EdenNet 19A release, zabbix server in the selfmon node uses login/password secu-
rity to connect to MySQL database.
Note: Type the user name as Admin and password as zabbix. Admin user password
change is not enforced and must be done manually after installation.
Expected outcome
4 Host configuration
The Zabbix Host is the Virtual machine or ESXi host to be monitored. This host is monitored for differ-
ent parameters. The host entity needs to be created for each of the EdenNet Virtual machines or ESXi
hosts during deployment.
Parameter Description
Parameter Description
Note: If multi IP scenario is present, give the internal IP of VMs while creating the host entity.
Prerequisites
Expected outcome
Active: active (running) since Wed 2018-09-05 14:46:14 EEST; 18h ago
CGroup: /system.slice/snmpd.service
Expected outcome
User can check the SNMPD status by entering the following command:
#export LD_LIBRARY_PATH=/usr/local/lib
• cd /usr/lib/zabbix/alertscripts
• python3.7 create_net_snmp_v3_user.py -A <PASSPHRASE for
authentication> -a <authentication PROTOCOL> -X <PASSPHRASE for
privacy> -x <privacy PROTOCOL> -u <user>
Expected outcome
rwuser test
Expected outcome
User can check the SNMPD status by entering the following command:
Template Description
Copy the templates to the host from where the Zabbix server GUI is accessed.
To import the templates to the Zabbix server, execute the below steps:
1. Go to Configuration → Hosts.
To configure zabbix to send SNMP Version 3 TRAPS to an external monitoring system, follow the be-
low procedures:
3. Creating an action.
1. Navigate to Administration → Media types → Create media type to create this configuration.
Type Script
Enabled checked
Expected outcome
4. Click Add.
6. Click Add.
7. Click Update.
Enabled checked
Parameter Value
HostIP: {HOST.IP},
HostName: {HOST.HOST},
{ITEM.NAME1}: {ITEM.VALUE1}'
Parameter Value
Send to User groups Click Add and select the required User groups. For example,
Zabbix administrators.
8. Select Trigger from the drop-down list for a new condition, and then click Select.
9. Choose groups as Templates and ENET VM Monitoring Template as host from the drop-down
list.
Repeat the above steps for all the ENET templates. (For ENET_APP_SERVICE_MONITORING,
ENET_CENTRAL_DB_SERVICE_MONITORING, ENET_KPI_DB_SERVICE_MONITORING),
then click Add.
11. Click Add at the bottom right corner of the Actions tab to add the action.
Expected outcome
The Report issues to NBI action is successfully added with the given details.
5 Supported triggers
Zabbix server supports the below mentioned triggers to monitor the EdenNet system.
NBI Triggers
CONFIGURED MAX Information 3600 seconds Triggered when the configured maxi-
NUMBER OF PRO- mum number of processes is less than
CESSES IS TOO 256
LOW
DISK I/O IS OVER- Warning 60 seconds Triggered when the average i/o wait
LOADED time spent in the last 5 samples is more
than 20
PASSWORD HAS Warning 3600 seconds Triggered when the /etc/passwd has
BEEN CHANGED changed
VIRTUAL MACHINE High 30 seconds Triggered when the agent node is not
IS UNREACHABLE accessible for 5 minutes
FOR 5 MINUTES
LACK OF FREE High 300 seconds Triggered when the free swap space is
SWAP SPACE less than 50 M
EDEN-NET APP Warning Every 30 seconds Triggered when any of the registered
SERVICE IS INAC- services hosted in wsgi server move to
TIVE inactive state
EDEN-NET APP High Every 30 seconds Triggered when any of the registered
SERVICE FAILED services hosted in wsgi server move to
failed state.
EDEN-NET MODULE High Every 600 sec- Triggered when an EdenNet module
FAILED onds goes to failed state
ENET_VM_MONITORING_Template
ENET Free disk space High 3600 seconds Triggered when free disk space is less
is less than 20% on than 20% on filesystem
volume <FileSystem-
Name>
ENET Free disk space Major 3600 seconds Triggered when free disk space is less
is less than 30% on than 30% on filesystem
volume <FileSystem-
Name>
ENET Free disk space Minor 3600 seconds Triggered when free disk space is less
is less than 40% on than 40% on filesystem
volume <FileSystem-
Name>
ENET Free inodes High 3600 seconds Triggered when free inodes is less than
is less than 20% on 20% on filesystem
volume <FileSystem-
Name>
ENET Free inodes Not classified 3600 seconds Triggered when free inodes is less than
is less than 30% on 30% on filesystem
volume <FileSystem-
Name>
Zabbix Triggers
Host name of zabbix_ Information 3600 seconds Triggered when the host name of zab-
agentd was changed bix_agent(d) is changed on host
on {HOST.NAME}
Version of zabbix_ Information 3600 seconds Triggered when the Version of zabbix_
agent(d) was changed agent(d) is changed on host
on {HOST.NAME}
More than 100 items Warning 600 seconds Triggered when more than 100 items
having missing data have missing data for more than 10
for more than 10 min- minute
utes
Zabbix value cache High 60 seconds Triggered when zabbix value cache
working in low memo- memory is almost close to 1 MB
ry mode
Zabbix proxy poller Average 60 seconds Triggered when more than 75% of Zab-
processes more than bix proxy poller processes are busy
75% busy
Zabbix self-monitoring Average 60 seconds Triggered when more than 75% of Zab-
processes more than bix self-monitoring processes are busy
75% busy
Zabbix poller process- Average 60 seconds Triggered when more than 75% of Zab-
es more than 75% bix poller processes are busy
busy
Zabbix timer process- Average 60 seconds Triggered when more than 75% of Zab-
es more than 75% bix timer processes are busy
busy
Zabbix ipmi poller Average 60 seconds Triggered when more than 75% of Zab-
processes more than bix ipmi poller processes are busy
75% busy
Zabbix unreachable Average 60 seconds Triggered when more than 75% of Zab-
poller processes more bix unreachable poller processes are
than 75% busy busy
Zabbix snmp trapper Average 60 seconds Triggered when more than 75% of Zab-
processes more than bix snmp trapper processes are busy
75% busy
Less than 25% free in Average 60 seconds Triggered when there is less than 25%
the vmware cache free space in the vmware cache
Zabbix java poller Average 60 seconds Triggered when more than 75% of Zab-
processes more than bix java poller processes are busy
75% busy
Zabbix vmware col- Average 60 seconds Triggered when more than 75% of Zab-
lector processes more bix vmware collector processes are
than 75% busy busy
Zabbix icmp pinger Average 60 seconds Triggered when more than 75% of Zab-
processes more than bix icmp pinger processes are busy
75% busy
Zabbix trapper Average 60 seconds Triggered when more than 75% of Zab-
processes more than bix trapper processes are busy
75% busy
Zabbix http poller Average 60 seconds Triggered when more than 75% of Zab-
processes more than bix http poller processes are busy
75% busy
Less than 5% free in Average 60 seconds Triggered when there is less than 5% of
the value cache free space in value cache
Zabbix alerter Average 60 seconds Triggered when more than 75% of Zab-
processes more than bix alerter processes are busy.
75% busy
Less than 25% free in Average 60 seconds Triggered when there is less than 25%
the history cache of free space in the history cache
Less than 25% free in Average 60 seconds Triggered when there is less than 25%
the trends cache of free space in the trends cache
Less than 25% free Average 60 seconds Triggered when there is less than 25%
in the history index of free space in the history index cache
cache
Zabbix configuration Average 60 seconds Triggered when more than 75% of Zab-
syncer processes bix configuration syncer processes are
more than 75% busy busy
Zabbix db watchdog Average 60 seconds Triggered when more than 75% of Zab-
processes more than bix db watchdog processes are busy
75% busy
Zabbix housekeeper Average 60 seconds Triggered when more than 75% of Zab-
processes more than bix housekeeper processes are busy
75% busy
Zabbix history syncer Average 60 seconds Triggered when more than 75% of Zab-
processes more than bix history syncer processes are busy
75% busy
Zabbix escalator Average 60 seconds Triggered when more than 75% of Zab-
processes more than bix escalator processes are busy
75% busy
Zabbix discoverer Average 60 seconds Triggered when more than 75% of Zab-
processes more than bix discoverer processes are busy
75% busy
Less than 25% free Average 60 seconds Triggered when there is less than 25%
in the configuration of free space in the configuration cache
cache
Configured max num- Information 3600 seconds Triggered when the Configured max
ber of opened files number of opened files is too low on
is too low on {HOST. host
NAME}
Host information was Information 3600 seconds Triggered when the host information
changed on {HOST. was changed on host
NAME}
Template App Zab- Information 3600 seconds Triggered when the version of zabbix_
bix Agent: Version of agent(d) is changed on host
zabbix_agent(d) was
changed on {HOST.
NAME}
Template App Zabbix Information 3600 seconds Triggered when the host name of zab-
Agent: Host name of bix_agentd is changed on host
zabbix_agentd was
changed on {HOST.
NAME}
Configured max num- Information 3600 seconds Triggered when the configured max
ber of processes is too number of processes is too low on host
low on {HOST.NAME}
Hostname was Information 3600 seconds Triggered when the host name was
changed on {HOST. changed on host
NAME}
{HOST.NAME} has Information 600 seconds Triggered when the host is restarted
just been restarted
Too many processes Warning 60 seconds Triggered when there are too many
on {HOST.NAME} processes on host
Too many process- Warning 60 seconds Triggered when there are too many
es running on {HOST. processes running on host
NAME}
Lack of free swap Warning 60 seconds Triggered when there is lack of free
space on {HOST. swap space on host
NAME}
Processor load is too Warning 60 seconds Triggered when the processor load is
high on {HOST.NAME} too high on host
/etc/passwd has been Warning 3600 seconds Triggered when the /etc/passwd has
changed on {HOST. been changed on host
NAME}
Disk I/O is overloaded Warning 60 seconds Triggered when the Disk I/O is over-
on {HOST.NAME} loaded on host
Template App Zabbix Average 60 seconds Triggered when the Zabbix agent on
Agent: Zabbix agent host is unreachable for 5 minutes
on {HOST.NAME} is
unreachable for 5 min-
utes
Disk partitions: Free disk Warning 3600 seconds Triggered when the free
space is less than 20% on disk space is less than 20%
volume XXX
Network interfaces: Opera- Information 3600 seconds Triggered when the oper-
tional status was changed ational status changes on
on {HOST.NAME} interface host interface device vmnic
Device vmnicXXX at 06:00.
X XXX
Note: Template OS Linux and Template App Zabbix Server are default templates provided by
Zabbix. The above documented triggers can have a slight mismatch in names, if the operator
is upgrading from EdenNet 18 to EdenNet 18 SP1 or later.
Expected outcome
5. Clear the Enabled check box to disable the existing trigger, and save changes.
3. Click on Triggers in the row of the host that represent Central DB VM and PM KPI DB VMs.
4. Disable the existing trigger by clicking on Enabled link in Status column for Mounted filesystem
discovery : ENET Free disk space is less than 40% on volume /backupdb, confirm that status
changes to Disabled.
5. Disable the existing trigger by clicking on Enabled link in Status column for Mounted filesystem
discovery: ENET Free disk space is less than 30% on volume /backupdb, confirm that status
changes to Disabled.
3. Click on Triggers in the row of the host that represent Central DB VM and PM KPI DB VMs.
4. Enable the existing trigger by clicking on Enabled link in Status column for Mounted filesystem
discovery : ENET Free disk space is less than 40% on volume /backupdb, confirm that status
changes to Enabled.
5. Enable the existing trigger by clicking on Enabled link in Status column for Mounted filesystem
discovery: ENET Free disk space is less than 30% on volume /backupdb, confirm that status
changes to Enabled.
Note: Integration of NetAct with EdenNet Selfmon should be done only with NetAct 17.8
or higher versions.
To provide support for SNMP v3 access for this adaptation, execute following updates as root user:
# cp /var/opt/nokia/oss/global/isdk/converters/mapping-config/
com.nokia.enet.enetnode-17.mdksnmpfm /home/omc/
3. Edit attribute snmpVersion = V2C to snmpVersion = V3 using vi/vim editor, and save it.
Expected outcome
sh /opt/oss/nokianetworks-isdk-snmpfm/bin/ISDKFMActivationManager.sh
--activate --agentId PLMN-PLMN/ENET<ENET_MO_INSTANCE_ID>/ENETNODE-
<ENETNODE_MO_INSTANCE_ID> com.nokia.enet.enetnode 17 PLMN-PLMN/ENET-
<ENET_MO_INSTANCE_ID>/ENETNODE-<ENETNODE_MO_INSTANCE_ID> <Selfmon-IP>
Where,
For example,
PLMN-PLMN/ENET-1/ENETNODE-1 <Selfmon-IP>
# sqlplus omc/omc
Prerequisites
Note: For information on integrating EdenNet to NetAct, see the Integrating EdenNet to
NetAct section in NetAct Operating documentation.
Note: Ensure that the created service user has sysop group permissions.
Table 12: SNMP v3 user creation in NetAct lists the parameter and values used for SNMP v3 user
creation in NetAct.
Parameter Values
Profile Non-Contest
For SNMP user name, SNMP authentication passphrase and SNMP privacy protocol, see section
Creating SNMP user.
Note:
The user name and corresponding credentials should be identical to the user created for
SNMP.
For information on Maintenance region creation procedure, see the Integrating EdenNet to NetAct
section in NetAct Operating documentation.
• isdk_snmpfm_activity0_0.log
• isdk_snmpfm_error0_0.log
2017-09-18-T16:05:08.131+0530 | | | fMDBSMIEngine_
fMNotificationProcessor-8 | INFO | com.nsn.oss.mdk.fm.db.dao.
FMEventStatementSetter | Inserting Alarm New to DB with the values:
{Event Time = 2017-09-18T10:35:07+00:00 Specific Problem = 11603
Alarm Text = LACK OF AVAILABLE MEMORY ON SERVER Severity = MAJOR
Additional Text 1 = Additional Text 2 = null Additional Text 3 = null
Additional Text 4 = null Additional Text 5 = null Additional Text 6 =
null Event Type = QUALITY_OF_SERVICE Alarm ID = 11603 Probable Cause
= 564 System DN = PLMN-PLMN/ENET-1/ENETNODE-1/ENETVM-10.61.18.118
Uploadable = true}
Tue Sep 19 19:14:11 IST 2017:*** *** *** *** snmpv3.sh Script
Triggered from Zabbix *** *** *** ***
Param 1: 10.61.12.226
Param 2: PROBLEM: DISK NOT FULL
---:Msg Started:---
'Trigger: DISK NOT FULL,
Trigger status: PROBLEM,
Trigger severity: Information,
HostIP:10.61.18.121,
HostName:PMDB3G,
Security name:test,
Authentication pass phrase:Nokia@test_1234,
Privacy pass phrase:Nokia@test_1234,
ENET SWAP Available Space: 19016970240'
---:Msg End:---
-----------------
Trap received: Trigger: DISK NOT FULL,Trigger status: PROBLEM,Trigger
severity: Information,HostIP:10.61.18.121,HostName:PMDB3G,Security
name:test,Authentication
pass phrase:Nokia@Sprin_1234,Privacy pass phrase:Nokia@test_1234,ENET
SWAP Available Space: 19016970240
-----------------
nbi_ip: 10.61.12.226
-----------------
----- Started Parsing received trap message -----
security_name :test, authentication_pass_phrase:Nokia@test_1234,
privacy_pass_phrase:Nokia@test_1234
----- End of Parsing received trap message -----
Final Command Sending To NBI:snmptrap -v 3 -u test -a SHA -A
Nokia@test_1234 -x AES128 -X Nokia@test_1234 -l authPriv 10.61.12.
226:162 ""
1.3.6.1.4.1.1751.2.78.5.6.11 1.3.6.1.4.1.1751.2.78.5.6.9.1.2.1 s DISK
NOT FULL 1.3.6.1.4.1.1751.2.78.5.6.9.1.3.1 i 4 1.3.6.1.4.1.1751.2.78.
5.6.9.1.4.1 s 1505828651
1.3.6.1.4.1.1751.2.78.5.6.9.1.5.1 i 564 1.3.6.1.4.1.1751.2.78.5.6.9.1.
7.1 i 5 1.3.6.1.4.1.1751.2.78.5.6.9.1.9.1 s 1.3.6.1.4.1.1751.2.78.5.6.
9.1.15.1 s 11612
9 Troubleshooting
Problem 1: Sporadic issues with SNMP alarms due to the presence/absence of SNMP v3 user
There can be sporadic issues seen where SNMP v3 alarms are visible in NetAct even when the SNMP
v3 user does not exist in NetAct, and not visible when it exists. When SNMP v3 user in NetAct is
deleted and recreated, there will be a time gap for alarms to be visible in NetAct. After the following
message is seen in isdk_snmpfm_activity.log, triggers/alarms start being visible on the monitor.
• If service is not started, agent is not activated, or NASDA service is unavailable, for
troubleshooting these issues see:
http://belk.netact.noklab.net/N17-2_SP08/
topic/troubleshooting_netact/sbi/isdk/concepts/
fm_isdk_snmp_fm_alarm_not_received_on_netact_for_all_the_isdk_snmp_pm_mediation_b
case.html?cp=11_0_1_2_11
• If NEAC configuration is incorrect or NEAC service is unavailable, for troubleshooting these issues
see:
http://belk.netact.noklab.net/N17-2_SP08/
topic/troubleshooting_netact/sbi/isdk/concepts/
fm_alarms_upload_fails_or_hangs_for_all_isdk_snmp_fm_based_ne_case.html?
cp=11_0_1_2_12
If the traps are not sent and the following message is not seen in /var/log/zabbix/
zabbix_server.log
Sample Output:
Authentication:
Communities: public
Enable: true
Engineid: 00000063000000a100000000
Hwsrc: indications
Largestorage: true
Loglevel: info
Notraps:
Port: 161
Privacy:
Remoteusers:
Syscontact: admin@example.com
Targets:
Users:
V3targets:
4. Add a firewall rule to allow the SNMP inbound port, and then enable it.
# esxcli network firewall ruleset set --ruleset-id snmp --allowed-all
true
Zabbix-server /var/log/zabbix/zabbix_server.log
Zabbix-agent /var/log/zabbix/zabbix_agentd.log
Apache /var/log/httpd/access_log,
/var/log/httpd/error_log