SOME graphs broken after upgrade
SOME graphs broken after upgrade
We did an upgrade to XI 2014R1.2 when it first became available. The upgrade went pretty much without a hitch. A few days later, we noticed that a couple of our graphs quit working, but the other 1000+ work fine.
Of course, the two that aren't working are the ones that our team needs to be looking at.
The service that we're trying to graph is for Active VPN Sessions. It just comes up blank. All the other services
The service returns the value ok, but it just won't graph it.
Any suggestions?
Of course, the two that aren't working are the ones that our team needs to be looking at.
The service that we're trying to graph is for Active VPN Sessions. It just comes up blank. All the other services
The service returns the value ok, but it just won't graph it.
Any suggestions?
Re: SOME graphs broken after upgrade
Could you post the output of one of the vpn checks? I want to see if the perfdata is valid.
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.
Re: SOME graphs broken after upgrade
Code: Select all
COMMAND: /usr/local/nagios/libexec/check_snmp -H my.cisco_vpn_concentrator.com -p 161 -o enterprises.9.9.392.1.3.1.0 -C idontknow -P 2c -l "Active VPN Sessions" -u "\(Number of Sessions\)" -m RFC1155-SMI -c :35
Code: Select all
OUTPUT: SNMP OK - Active VPN Sessions 27 (Number of Sessions) | 'Active VPN Sessions'=27(Number of Sessions);;35;
Re: SOME graphs broken after upgrade
Well, the check looks right, but the string omit is not working. Could you try removing the escapes on the parens?
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.
Re: SOME graphs broken after upgrade
Actually, those must have been added by phpBB. Those don't appear when I run the command.abrist wrote:Well, the check looks right, but the string omit is not working. Could you try removing the escapes on the parens?
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: SOME graphs broken after upgrade
The UOM containts spaces and this will be causing issues "(Number of Sessions)".highness wrote:Code: Select all
COMMAND: /usr/local/nagios/libexec/check_snmp -H my.cisco_vpn_concentrator.com -p 161 -o enterprises.9.9.392.1.3.1.0 -C idontknow -P 2c -l "Active VPN Sessions" -u "\(Number of Sessions\)" -m RFC1155-SMI -c :35
Code: Select all
OUTPUT: SNMP OK - Active VPN Sessions 27 (Number of Sessions) | 'Active VPN Sessions'=27(Number of Sessions);;35;
Perhaps try -u "\(Number_of_Sessions\)" in your check_snmp command.
https://nagios-plugins.org/doc/guidelines.html#AEN200
'label'=value[UOM];[warn];[crit];[min];[max]
UOM (unit of measurement) is one of:
no unit specified - assume a number (int or float) of things (eg, users, processes, load averages)
s - seconds (also us, ms)
% - percentage
B - bytes (also KB, MB, TB)
c - a continous counter (such as bytes transmitted on an interface)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: SOME graphs broken after upgrade
Tried that, no joy. Here is the modified command and the output from that:Box293 wrote:The UOM containts spaces and this will be causing issues "(Number of Sessions)".highness wrote:/usr/local/nagios/libexec/check_snmp -H hq1-asa-1.vsp.com my.cisco_vpn_concentrator.com -p 161 -o enterprises.9.9.392.1.3.1.0 -C idontknow -P 2c -l "Active VPN Sessions" -u"(Number of Sessions)" -m RFC1155-SMI -c :35Code: Select all
COMMAND: /usr/local/nagios/libexec/check_snmp -H my.cisco_vpn_concentrator.com -p 161 -o enterprises.9.9.392.1.3.1.0 -C idontknow -P 2c -l "Active VPN Sessions" -u "\(Number of Sessions\)" -m RFC1155-SMI -c :35
Code: Select all
OUTPUT: SNMP OK - Active VPN Sessions 27 (Number of Sessions) | 'Active VPN Sessions'=27(Number of Sessions);;35;
Perhaps try -u "\(Number_of_Sessions\)" in your check_snmp command.
Code: Select all
COMMAND: /usr/local/nagios/libexec/check_snmp -H my.cisco_vpn_concentrator.com -p 161 -o enterprises.9.9.392.1.3.1.0 -C idontknow -P 2c -l "Active VPN Sessions" -u -m RFC1155-SMI -c :35
Code: Select all
OUTPUT: SNMP OK - Active VPN Sessions 17 -m | 'Active VPN Sessions'=17-m;;35;
Re: SOME graphs broken after upgrade
Code: Select all
COMMAND: /usr/local/nagios/libexec/check_snmp -H my.cisco_vpn_concentrator.com -p 161 -o enterprises.9.9.392.1.3.1.0 -C idontknow -P 2c -l "Active VPN Sessions" -u -m RFC1155-SMI -c :35
Former Nagios employee
Re: SOME graphs broken after upgrade
Here is the what I'm getting returned now
Does that look right? If so, the next step is to figure out why it's not graphing.
The weird thing is that this check wasn't updated and worked fine before we upgrade. After the upgrade, this check fails to graph...
Code: Select all
COMMAND: /usr/local/nagios/libexec/check_snmp -H my.asa.hostname.com -p 161 -o enterprises.9.9.392.1.3.1.0 -C idontknow -P 2c -l "Active VPN Sessions" -u"(Number of Sessions)" -m RFC1155-SMI -c :35
Code: Select all
OUTPUT: SNMP OK - Active VPN Sessions 33 (Number of Sessions) | 'Active VPN Sessions'=33(Number of Sessions);;35;
The weird thing is that this check wasn't updated and worked fine before we upgrade. After the upgrade, this check fails to graph...
Re: SOME graphs broken after upgrade
That looks ok, but the unit label is breaking graphing. Can you run the check without the -u "<string"?
Code: Select all
/usr/local/nagios/libexec/check_snmp -H my.asa.hostname.com -p 161 -o enterprises.9.9.392.1.3.1.0 -C idontknow -P 2c -l "Active VPN Sessions" -m RFC1155-SMI -c :35
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.