Pedroliveira.pt Blog

0

How to Add I New disk To LVM

Suppose the Disk is /dev/sdb, the second scsi disk, fdisk /dev/sdb create as many partitions as you need using command n Label them with command “t” as “8e” for making it Linux LVM Write...

How to install Network Card Bonding On CentOS 0

How to install Network Card Bonding On CentOS

Bonding is the same as port trunking. In the following I will use the word bonding because practically we will bond interfaces as one. Bonding allows you to aggregate multiple ports into a single...

%title% Photo 0

How To Install SNMP on Centos

yum install net-snmp yum install net-snmp-utils snmpconf -g basic_setup Pick reasonable values. I enable one of each kind of monitor so I have some examples, and only enable snmp 1 / 2c READONLY communities...

%title% Photo 0

How To Create Gui For Plugins in OCS-NG Inventory

This is the second part of the post “How to create  i Plugin for OCSNG” In the server, the ocs instalation find the file machine.php 1. vi machine.php 2. Around line 187 add ‘netstat’...

%title% Photo 1

How To creat i Plugin OCS-NG Part 2 Crontab Plugin

Based on How To creat i Plugin Part 1, i made this plugin to list crontab items from client machines . #!/usr/bin/perl package Ocsinventory::Agent::Backend::crontab; #use strict; #use warnings; sub check { return 1; }...