No performance graphs for memory alert

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rnjie
Posts: 157
Joined: Wed Mar 20, 2019 4:59 pm

No performance graphs for memory alert

Post by rnjie »

i noticed this morning that there are no performance graphs for my memory usage service, please see screenshot attached.all the other services do have graphs except memory. memory is being monitored using a plugin provided by nagios support before called check_snmp_mem.pl since the default one wasn't reading memory correctly. this is the result i get on the command line

libexec]# ./check_snmp_mem.pl -H DELBDVP1 -C plut0 -v2c -w 85,90 -c 85,90
Alarm at 15
SNMP v2c login
Ram : 1413536 (1962088 cached) / 4043656 : 17
Swap : 2097056 / 2097144 : 0
Ram : 17%, Swap : 0% : ; OK

it monitors ok but no performance graphs to show
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No performance graphs for memory alert

Post by scottwilkerson »

For this plugin to return performance data you need to add the -f flag to the command.

e.g.

Code: Select all

./check_snmp_mem.pl -H DELBDVP1 -C plut0 -v2c -f -w 85,90 -c 85,90
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rnjie
Posts: 157
Joined: Wed Mar 20, 2019 4:59 pm

Re: No performance graphs for memory alert

Post by rnjie »

thanks, that worked, is there a way to make this change on multiple servers at a time? i tried using the bulk modification tool but i didnt see an option to edit a command for a particular service, how ever there is a "add service" option but i want to edit so i can add the -f flag for all hosts.i also tried using the change command argument but that doesnt do that.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No performance graphs for memory alert

Post by scottwilkerson »

rnjie wrote:thanks, that worked, is there a way to make this change on multiple servers at a time? i tried using the bulk modification tool but i didnt see an option to edit a command for a particular service, how ever there is a "add service" option but i want to edit so i can add the -f flag for all hosts.i also tried using the change command argument but that doesnt do that.
You could also just find the command in the CCM and add the -f to the command
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rnjie
Posts: 157
Joined: Wed Mar 20, 2019 4:59 pm

Re: No performance graphs for memory alert

Post by rnjie »

thanks, you can close the case
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No performance graphs for memory alert

Post by scottwilkerson »

rnjie wrote:thanks, you can close the case
Great!

Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked