Page 1 of 1
No performance graphs for memory alert
Posted: Mon Apr 22, 2019 1:59 pm
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
Re: No performance graphs for memory alert
Posted: Mon Apr 22, 2019 3:40 pm
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
Re: No performance graphs for memory alert
Posted: Mon Apr 22, 2019 5:04 pm
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.
Re: No performance graphs for memory alert
Posted: Tue Apr 23, 2019 6:55 am
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
Re: No performance graphs for memory alert
Posted: Tue Apr 23, 2019 1:46 pm
by rnjie
thanks, you can close the case
Re: No performance graphs for memory alert
Posted: Tue Apr 23, 2019 2:07 pm
by scottwilkerson
rnjie wrote:thanks, you can close the case
Great!
Locking