mushroom risotto

Ingredients for 2 people:

two small onions or one big onion
two hundred grams of mushrooms
180 gram of rice
two cloves of garlic
extra virgin olive oil
butter 10 grams
black pepper
parmesan cheese (optional)

1) cut onions in small pieces
2) put the onions in a pan and a little bit of watter on number 7/10 for 5 minutes.
check that they don’t burn.
3) Boil some water in the kettle
4) cut the mushrooms and the garlic
5) put the rice with the onions and add some water. mix every couple of minutes.
when the water is finished add more water
6) put the mushrooms and the garlic in a pan
7) mix every minute
8) grate the parmesan cheese
9) When the rice is ready [about 10 minutes] add pepper and parmesan cheese. mushrooms and a  bit of water.


I am doing some things with snmp and I will use this post as a pastebin.

pseudo switch

# apt-get install snmpd
# vim  /etc/snmp/snmpd.conf
agentAddress  udp:161
rocommunity   public

to use snmpwalk on another machine, in my case nagios:
# apt-get install snmp
$ snmpwalk -v 2c -c public


Usually nagios uses the NRPE client but for snmp it is not used.

root@nagios:/etc/nagios3/conf.d# vim services.cfg

define service {
name                                         switch_uptime
use                                             generic-service
service_description             switch_uptime
check_command                   snmp_UpTime!-C public
#   hostgroup_name                 all
host_name                             unswitch

define command{
command_name    snmp_UpTime
command_line    $USER1$/check_snmp -o -H $HOSTADDRESS$ $ARG1$

# iso. = 1.

root@nagios:/etc/nagios3/conf.d# vim hosts.cfg

define host {
use                        generic-host
host_name        unswitch

root@tt01:/etc/nagios3/conf.d# vim hostgroups.cfg

define hostgroup {
hostgroup_name     all
members                   unserver,unswitch


Test via command line without using the web server:

root@nagios:/etc/nagios3/conf.d# /usr/lib/nagios/plugins/check_snmp -o -C public