Search found 12 matches

by sistemasproadata
Tue Jul 16, 2019 9:35 am
Forum: Nagios XI
Topic: check performance data
Replies: 5
Views: 114

Re: check performance data

thanks!! that was the problem.
by sistemasproadata
Tue Jul 16, 2019 8:59 am
Forum: Nagios XI
Topic: check performance data
Replies: 5
Views: 114

Re: check performance data

it gets all values but there are not used on the graph, only the first value:

https://drive.google.com/file/d/1NA2FfO ... sp=sharing

I have grafana connected to nagios and I cannot get the values too.
by sistemasproadata
Tue Jul 16, 2019 8:33 am
Forum: Nagios XI
Topic: check performance data
Replies: 5
Views: 114

check performance data

Hi, I have one script returning that values: echo "Ok|Activos=$activos;Waiting=$waiting;OnHold=$onhold;Material=$material;Pedido=$pedido;PendienteMaterial=$pendientematerial;SinAtender=$sinatender;Laboral=$laboral;Sistemas=$sistemas" Ok|Activos=14;Waiting=13;OnHold=5;Material=12;Pedido=3;P...
by sistemasproadata
Wed Jan 31, 2018 4:09 am
Forum: Nagios XI
Topic: Command HOST_NAME Macro
Replies: 16
Views: 567

Re: Command HOST_NAME Macro

Thanks, you are right, I was testing it with the run command :( but the check works fine without the check command test.

Sorry for the inconveniences.
Best regards
by sistemasproadata
Fri Jan 26, 2018 2:41 am
Forum: Nagios XI
Topic: Command HOST_NAME Macro
Replies: 16
Views: 567

Re: Command HOST_NAME Macro

hi, I sent you the system profile.

Thanks
by sistemasproadata
Wed Jan 24, 2018 2:35 am
Forum: Nagios XI
Topic: Command HOST_NAME Macro
Replies: 16
Views: 567

Re: Command HOST_NAME Macro

the hosttemplates.cfg file: ############################################################################### # # Host template configuration file # # Created by: Nagios Core Config Manager 2.6.10 # Date: 2018-01-22 11:23:11 # Version: Nagios 3.x config file # # --- DO NOT EDIT THIS FILE BY HAND --- #...
by sistemasproadata
Mon Jan 22, 2018 5:18 am
Forum: Nagios XI
Topic: Command HOST_NAME Macro
Replies: 16
Views: 567

Re: Command HOST_NAME Macro

[[email protected] ~]$ /usr/local/nagios/libexec/check_nrpe -H 172.18.0.67 -t 30 -c veeam_estado -a $HOSTNAME$
passed argument: srvmanmon002

srvmanmon002 is the hostname of nagios
by sistemasproadata
Mon Jan 22, 2018 5:08 am
Forum: Nagios XI
Topic: Command HOST_NAME Macro
Replies: 16
Views: 567

Re: Command HOST_NAME Macro

Hi, my problem is the macro $HOSTNAME$ is sending me the name of the nagios machine, not the hostname defined on the nagios conf for the host.

Regards
by sistemasproadata
Wed Jan 17, 2018 3:10 am
Forum: Nagios XI
Topic: Command HOST_NAME Macro
Replies: 16
Views: 567

Re: Command HOST_NAME Macro

hi, is a simple code to check if one virtual machines is copied on the last veeam backup, the problem is not sending the name of the server as arg, is sending "$HOSTNAME$" as text asnp VeeamPSSnapin $VMName = $args[0].Split(".")[0] foreach($Job in (Get-VBRJob)) { $Session = $Job....
by sistemasproadata
Tue Jan 16, 2018 5:10 am
Forum: Nagios XI
Topic: Command HOST_NAME Macro
Replies: 16
Views: 567

Re: Command HOST_NAME Macro

nagios: Your Nagios XI installation is up to date. Latest Available Version: 5.4.11 Installed Version: 5.4.11 Last Update Check: 16/01/2018 08:34:02 nrpe: NRPE Plugin for Nagios Copyright (c) 1999-2008 Ethan Galstad (nagios@nagios.org) Version: 2.15 nsclient: NRPE Plugin for Nagios Copyright (c) 199...