Merging Performance Graphs
-
rafaelvdberg
- Posts: 39
- Joined: Fri Aug 24, 2012 1:24 pm
Merging Performance Graphs
I'm currently monitoring switchport discards (in & out) and need to be able to have a graph for both in & out discards?
I've configured two seperate services for each port (InDiscards & OutDiscards); is there a way to merge their performance graphs so I can see both In and Out on one graph?
Best,
Rafael
I've configured two seperate services for each port (InDiscards & OutDiscards); is there a way to merge their performance graphs so I can see both In and Out on one graph?
Best,
Rafael
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Merging Performance Graphs
What plugin, or method are you using to monitor these two services?
-
rafaelvdberg
- Posts: 39
- Joined: Fri Aug 24, 2012 1:24 pm
Re: Merging Performance Graphs
I'm using an SNMP check on the OID's.
Best,
Rafael
Best,
Rafael
Re: Merging Performance Graphs
Could you give us an example of each these 2 checks? You should be able to check more than one oid with check_snmp. By merging both oids into the same check, you should get both metrics in the perfdata string. They will not be additive though, instead you will have 2 metrics on the same graph.
http://nagiosplugins.org/man/check_snmp
http://nagiosplugins.org/man/check_snmp
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
rafaelvdberg
- Posts: 39
- Joined: Fri Aug 24, 2012 1:24 pm
Re: Merging Performance Graphs
Using the check_xi_service_snmp command here is the command I am running:
$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
where ARG1 is:
-p 61010 -o .1.3.6.1.2.1.2.2.1.13.1 -C password -P 2c -m IF-MIB
The above is for the inbound discards.
The outbound discards for this same port is:
-p 61010 -o .1.3.6.1.2.1.2.2.1.19.1 -C password -P 2c -m IF-MIB
So should I do something like this?
-p 61010 -o .1.3.6.1.2.1.2.2.1.13.1 -o .1.3.6.1.2.1.2.2.1.19.1 -C password -P 2c -m IF-MIB
best,
Rafael
$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
where ARG1 is:
-p 61010 -o .1.3.6.1.2.1.2.2.1.13.1 -C password -P 2c -m IF-MIB
The above is for the inbound discards.
The outbound discards for this same port is:
-p 61010 -o .1.3.6.1.2.1.2.2.1.19.1 -C password -P 2c -m IF-MIB
So should I do something like this?
-p 61010 -o .1.3.6.1.2.1.2.2.1.13.1 -o .1.3.6.1.2.1.2.2.1.19.1 -C password -P 2c -m IF-MIB
best,
Rafael
-
rafaelvdberg
- Posts: 39
- Joined: Fri Aug 24, 2012 1:24 pm
Re: Merging Performance Graphs
I got it figured it, the below worked.
-p 61010 -o .1.3.6.1.2.1.2.2.1.13.1,.1.3.6.1.2.1.2.2.1.19.1 -C password -P 2c -m IF-MIB
Best,
Rafael
-p 61010 -o .1.3.6.1.2.1.2.2.1.13.1,.1.3.6.1.2.1.2.2.1.19.1 -C password -P 2c -m IF-MIB
Best,
Rafael
-
rafaelvdberg
- Posts: 39
- Joined: Fri Aug 24, 2012 1:24 pm
Re: Merging Performance Graphs
Okay, there is still two performance graphs under this service, one for each OID....
Re: Merging Performance Graphs
What does the performance data look like for the new check?
(goto --> service detail --> click the service --> advanced tab --> Performance data field in the left hand table)
(goto --> service detail --> click the service --> advanced tab --> Performance data field in the left hand table)
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
rafaelvdberg
- Posts: 39
- Joined: Fri Aug 24, 2012 1:24 pm
Re: Merging Performance Graphs
This is what it says:
IF-MIB::ifInDiscards.1=0c
IF-MIB::ifOutDiscards.1=0c
Best,
Rafael
IF-MIB::ifInDiscards.1=0c
IF-MIB::ifOutDiscards.1=0c
Best,
Rafael
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Merging Performance Graphs
This looks correct, are you saying that there is no performance graph, or there is a graph but it is blank? because if your values are 0 as they are, it could just be blank