« first day (3423 days earlier)      last day (1890 days later) » 

15:30
15:42
odd...
pretty sure this is everyone that buys gifts on the 24th xD
my question is why would you, more confusion
i think i've got all mine now
oh.... apart from my dad
who wants slippers
SLIPPERS!
its like he is in his 70s or something.... <.< >.>
16:05
lol :p
I want socks, is that ok? x)
or that green thing called money (100€ notes would be nice since it's the only that is green)
16:39
Guys, I'm getting this in journalctl:
Process '/usr/sbin/tlp auto' failed with exit code 4.

And my fan started running really hard even though everything is cold
weren't you having this issue the other day?
17:26
ordered last two from amazon today, coming tomorrow
Don't need them til the 28th anyway \o/
18:03
I got this email myself.
As a Flickr Pro subscriber... this worries me a bit. I don't mind if they hike the cost of the subscription a bit, but something like this is not exactly the best sign.
I have zero plans to cancel when it's only $49 a year.
Anyone want to try a challenging Serverfault question?
18:37
0
Q: Nagios NRPE won't allow arguments

Canadian Luke REINSTATE MONICAI am trying to use a Nagios NRPE plugin to communicate with my servers. I have a command definition in /etc/nagios/nrpe_local.cfg to use it: command[check_service]=/usr/lib/nagios/plugins/check_service -s $ARG1$ When I manually run the command in my terminal, it succeeds: # /usr/lib/nagios/pl...

Ryzen 9 3950X is in stock at a substantial markup.
19:37
@CanadianLukeREINSTATEMONICA oh god i used to be so good with Nagios
so nrpe running as root or not?
> Dec 19 09:01:56 dc1 nrpe[5587]: WARNING: my_system() seteuid(0): Operation not permitted
makes me think not.
No, it's running as the nagios user
@djsmiley2k-CoW
whoops yah, sry
can you sudo chmod u+s the check_service executable?
something deep down is rattling inside my head
but it's been 4 years since i last touched nagios
which user does it run as, nrpe?
or nagios?
check your sudoers.cfg matches
espeially if you just copied it from the 'master' server to the client, and they use different usernames.
> # ps -ef | grep nrpe
nagios 4121 1 0 11:06 ? 00:00:00 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -f
nagios is the user. I don't use sudo on these servers
19:48
so I presume nagios user has sudo permissions...
nagios@fs1:/root$ /usr/lib/nagios/plugins/check_service -s smbd
OK: Service smbd is running!
on the 'client'
> Defaults:nagios !requiretty
nagios ALL=(ALL) NOPASSWD: /usr/lib64/nagios/plugins/
oooo
on the remote server
@djsmiley2k-CoW No sudo
19:53
try connecting to nrpe locally on 127.0.0.1 and running the check from that
Also are the arg's 0 indexed?
# /usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1 -c check_service -a smbd
NRPE: Command 'check_service!smbd' not defined
No, 1-indexed
not defined o_O
why does nrpe think the check doesn't exist :/
ls -lah /usr/lib/nagios/plugins/check_service
@CanadianLukeREINSTATEMONICA but if you call /usr/lib/nagios/plugins/check_service -s smbd it works?
See above... It works fine, as long as it's not being called through check_nrpe
k, wtf is going on then :S
20:02
only other thing i can come up with, is your init system isn't loading the config you've edited....
My goal is to have the generic plugin, accept ONE EFFING ARGUMENT, and dynamically create checks from my Nagios Server
yeah, i done this all myself
i recall isisues somewhat like this, but not why :/
# ps -ef | grep nrpe
nagios 4121 1 0 11:06 ? 00:00:00 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -f
It is reading the config file I edited
# cat /etc/nagios/nrpe.cfg
# Managed by Ansible. Local changes may be lost.

log_facility=daemon
debug=1
pid_file=/var/run/nagios/nrpe.pid
server_port=5666
nrpe_user=nagios
nrpe_group=nagios
allowed_hosts=127.0.0.1,10.32.10.12
dont_blame_nrpe=1
allow_bash_command_substitution=0
command_timeout=60
connection_timeout=300

command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10
command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
command[check_hda1]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1
# cat /etc/nagios/nrpe_local.cfg
## Note: Managed by Ansible

######################################
# Do any local nrpe configuration here
######################################
command[users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10
command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
command[check_swap]=/usr/lib/nagios/plugins/check_swap -w 20% -c 10%
command[check_root]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p / -m
command[check_home]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /home/ -m
 
1 hour later…
21:10
> # if the daemon was configured with the --enable-command-args configure script
that was enabled, for your nrpe, right?
debian being..... debian, i wouldn't be supprised if they disabled it lol
oh wait not an issue as you said other nrpe stuff works
but.... this is the only one with arguments?
and no errors starting nrpe i take it
Just wondering if it can't read /et/nagios/nrpe_local.cfg, it'd still load... maybe
however that would explain your missing command
 
3 hours later…
23:59
Just got an email from Twitter about this. Not good.

« first day (3423 days earlier)      last day (1890 days later) »