Pedroliveira.pt Blog

%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; }...

%title% 0

How to scan i number of host’s with NMAP

Today i had to check if there was some open port’s services running in i number of Server, so this was what i did: 1. Created i file with the hostnames vi hostsnames Then...

%title% Photo 0

How to create i Plugin for OCS-NG Part 1

This How To will show how to create i plug-in for ocsinventory. You can adapt for other tricks. I Wanted I plug-in the show the Netstat TCP Active ports, like this : Active Internet...

%title% 2

How to install OCS-NG and GLPI on CENTOS

Inventory is a client server utility which allows you to inventory Linux and Windows servers, PCs, laptops, etc. OCS Inventory installs as a server on either Linux or Windows, but this guide assumes CentOS....