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
No performance graphs for memory alert
No performance graphs for memory alert
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
For this plugin to return performance data you need to add the -f flag to the command.
e.g.
e.g.
Code: Select all
./check_snmp_mem.pl -H DELBDVP1 -C plut0 -v2c -f -w 85,90 -c 85,90Re: No performance graphs for memory alert
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
You could also just find the command in the CCM and add the -f to the commandrnjie 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.
Re: No performance graphs for memory alert
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
Great!rnjie wrote:thanks, you can close the case
Locking