Nagios xi monitor

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Nagios xi monitor

Post by preethu.d »

Hi,

Is it possible to configure alerts in Nagios if the utilization value is not in percentage ? In our system we have some memory utilization monitor that give output in MBs and KBs but not in percentage of utilization, can we configure alerting for such cases ? If yes then how this can be done ?

Regards,
Preethu
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios xi monitor

Post by dchurch »

Sorry, no that's not currently possible. Warning and critical thresholds are interpreted by the NCPA listener in terms of percentage.

See here for where NCPA interprets warning and critical thresholds.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Nagios xi monitor

Post by preethu.d »

Thanks for the update.
This is a network device and added in Nagios via SNMP, and the device shows memory utilization as value (like kbs and mbs)in this case is it possible to set alert ?

Regards,
Preethu
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios xi monitor

Post by dchurch »

check_snmp supports some arguments -w and -c for warning and critical. Try plugging in those to the service check command.

For example:

Code: Select all

check_snmp -H 192.168.1.100 -o DEVICE-MIB::AverageReceiveSNR.0,DEVICE-MIB::CurrentNoiseFloor.0 -w 10: -c 15:
I'm not sure why I assumed you were using NCPA. My mistake. :-|
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Nagios xi monitor

Post by preethu.d »

Hi,

I tried the given argument in run check command and I am getting unknown object identifier error.

Regards,
Preethu
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios xi monitor

Post by dchurch »

Try going through the "SNMP" wizard to set up the device. It'll ask you for warning/critical thresholds as you go thru it.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Nagios xi monitor

Post by preethu.d »

Hi,

I was using the same wizard for adding this SNMP enabled network switch. I updated memory OID and gave critical and warning threshold. But it is showing memory utilization in bytes not in percentage. Is there any way we can change it as percentage of utilization instead of its current memory utilization value.

Regrads,
Preethu
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios xi monitor

Post by dchurch »

If the value returned from SNMP is an absolute bytes value, then that's the only thing that can be checked.

If you find a different OID that returns the value as a percentage, then you can use that, and set a threshold appropriately. Otherwise, there's just not enough data returned from the SNMP command to be able to calculate percentage.

You could just specify the threshold in terms of absolute byte value.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.