Monday, January 22, 2018

.::: Add Sensor Factory on PRTG :::.

The Sensor Factory sensor is a powerful tool that allows you to monitor entire business processes that involve several components.
You can define one or more channels that combine monitoring results from other sensors or devices. You can create your own individual sensor with channels based on data from other sensors or devices.
Samples for usage are:
    Show single channels of one or more sensors in one graph.
    Use the data from single channels of one or more sensors to calculate new values (for example, you can subtract, multiply, and divide).
    Create graphs with data from other sensor channels and add horizontal lines at specific vertical positions.

.::: Add Sensor SNMP Custom on PRTG :::.

The SNMP Custom sensor monitors a single parameter that is returned by a specific Object Identifier (OID) using Simple Network Management Protocol (SNMP).
This sensor shows a single numerical value (int64) for a given OID. Each OID always refers to a specific parameter of a certain SNMP device.

base on sample monitoring palo alto using OID , this resume to monitor
1. snmpwalk device and make sure output

[root@TeguhLab ~]# snmpwalk -v2c -c public 10.10.10.10 1.3.6.1.2.1.47.1.1.1.1.7.10
SNMPv2-SMI::mib-2.47.1.1.1.1.7.10 = STRING: "Temperature @ Switch Core"
[root@TeguhLab ~]# snmpwalk -v2c -c public 10.10.10.10 1.3.6.1.2.1.99.1.1.1.4.10
SNMPv2-SMI::mib-2.99.1.1.1.4.10 = INTEGER: 51
[root@TeguhLab ~]# snmpwalk -v2c -c public 10.10.10.10 1.3.6.1.2.1.99.1.1.1.5.10
SNMPv2-SMI::mib-2.99.1.1.1.5.10 = INTEGER: 1
[root@TeguhLab ~]# snmpwalk -v2c -c public 10.10.10.10 1.3.6.1.2.1.99.1.1.1.6.10
SNMPv2-SMI::mib-2.99.1.1.1.6.10 = STRING: "(C)"
[root@TeguhLab ~]#

Friday, January 19, 2018

.::: Monitoring (OID/MIB) Temperature, Fan Speed PaloAlto Firewall On NMS(PRTG, Infosim Stablenet):::.


Palo Alto Networks, Inc. is a network and enterprise security company based in Santa Clara, California. The company’s core products are a platform that includes advanced firewalls designed to provide network security, visibility, and granular control of network activity based on application, user, and content identification and cloud-based offerings that extend those firewalls to cover other aspects of security. In 2017, Palo Alto Networks announced the availability of its new cloud-based service Logging Services, allowing customers to amass their own data.
for this Monitor Temperature, Fan speed Must enable ENTITY-SENSOR-MIB.mib

This is lab specialist for palo Alto PA-3000 / PA-3020
OID PA-3020 = OID PA-5050 =OID PA Firewall

1. Info Hardware Temperature & Fan

info OID Hardware : 1.3.6.1.2.1.47.1.1.1.1.7

[root@TeguhLab ~]# snmpwalk -v2c -c  teguht 10.10.10.10 1.3.6.1.2.1.47.1.1.1.1.7
SNMPv2-SMI::mib-2.47.1.1.1.1.7.1 = STRING: "PA-3020"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.2 = STRING: "Fan #1 RPM"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.3 = STRING: "Fan #2 RPM"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.4 = STRING: "Fan #3 RPM"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.5 = STRING: "Fan #4 RPM"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.6 = STRING: "Temperature @ Ocelot"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7 = STRING: "Temperature @ Switch"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.8 = STRING: "Temperature @ Cavium"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.9 = STRING: "Temperature @ Intel PHY"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.10 = STRING: "Temperature @ Switch Core"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.11 = STRING: "Temperature @ Cavium Core"
[root@TeguhLab ~]#

Friday, January 12, 2018

.::: How to Create Tablespace & Check Capacity, Add datafile On existing tablespace, Change Autoextend :::.

A tablespace is a container for segments (tables, indexes, etc). A database consists of one or more tablespaces, each made up of one or more data files. Tables and indexes are created within a particular tablespace. Oracle has a limit of 64,000 data files per database.

1. Create new tablespace, create user, grant previledge
[oracle@TeguhLabOracle ~]$ more Teguhdatatgh.sql
CREATE TABLESPACE Teguhdata DATAFILE '$ORACLE_BASE/oradata/tgh/Teguhdata.dbf' size 100M AUTOEXTEND ON;

Tuesday, January 2, 2018

.::: How Settting & Install Package OS Centos 7 Using Repolocal, ISO File :::.


1. Make sure Iso file copying on Disk
[root@TeguhLab7 data]# ls
CentOS-7-x86_64-DVD-1708.iso                 lm_sensors-3.4.0-4.20160601gitf9185e5.el7.x86_64.rpm       net-snmp-perl-5.7.2-28.el7.x86_64.rpm  repolocal
compat-libstdc++-33-3.2.3-72.el7.i686.rpm    lm_sensors-libs-3.4.0-4.20160601gitf9185e5.el7.x86_64.rpm  psensor-1.1.3                          snmpd
compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm  lm sensor.txt                                              psensor-1.1.3.tar.gz
[root@TeguhLab7 data]#


for repolocal
[root@Centos7 yum.repos.d]# df -kh
Filesystem               Size  Used Avail Use% Mounted on
/dev/mapper/centos-root   27G  7.7G   19G  29% /
devtmpfs                 2.9G     0  2.9G   0% /dev
tmpfs                    2.9G  156K  2.9G   1% /dev/shm
tmpfs                    2.9G  8.9M  2.9G   1% /run
tmpfs                    2.9G     0  2.9G   0% /sys/fs/cgroup
/dev/sda1                497M  124M  373M  25% /boot
/dev/loop0               4.3G  4.3G     0 100% /mnt
/dev/sr0                 4.1G  4.1G     0 100% /run/media/root/CentOS 7 x86_64

[root@Centos7 yum.repos.d]#


2. mounting to /mnt
[root@TeguhLab7 data]# mount -o loop CentOS-7-x86_64-DVD-1708.iso /mnt/

Popular Posts